Mercurial > libavformat.hg
diff utils.c @ 2281:ab7f29ef9976 libavformat
Avoid misdetecting acelp in ASF as MP3.
fixes 2001-04-11.asf
| author | michael |
|---|---|
| date | Wed, 25 Jul 2007 20:39:43 +0000 |
| parents | 3c1e2d519277 |
| children | 5fca908f82ea |
line wrap: on
line diff
--- a/utils.c Wed Jul 25 19:47:44 2007 +0000 +++ b/utils.c Wed Jul 25 20:39:43 2007 +0000 @@ -1941,7 +1941,7 @@ } }else if(st->codec->codec_type == CODEC_TYPE_AUDIO) { if (st->codec->codec_id == CODEC_ID_NONE && probe_data[st->index].buf_size > 0) { - codec_identified[st->index] = set_codec_from_probe_data(st, &(probe_data[st->index]), 0); + codec_identified[st->index] = set_codec_from_probe_data(st, &(probe_data[st->index]), 1); if (codec_identified[st->index]) { st->need_parsing = AVSTREAM_PARSE_FULL; }
