Originally committed as revision 23333 to svn://svn.ffmpeg.org/ffmpeg/trunk
Unified · Split
| @@ -392,6 +392,8 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) · 391 unmodified lines | ||
| 392 | 392 | st->codec->codec_id = ff_codec_get_id(ff_codec_bmp_tags, tag1); |
| 393 | 393 | if(tag1 == MKTAG('D', 'V', 'R', ' ')) |
| 394 | 394 | st->need_parsing = AVSTREAM_PARSE_FULL; |
| 395 | + if(st->codec->codec_id == CODEC_ID_H264) | |
| 396 | + st->need_parsing = AVSTREAM_PARSE_FULL_ONCE; | |
| 395 | 397 | } |
| 396 | 398 | pos2 = url_ftell(pb); |
| 397 | 399 | url_fskip(pb, gsize - (pos2 - pos1 + 24)); |