diff options
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/flvdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 899a036..a97fc32 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -951,7 +951,8 @@ retry_duration: dts = pts = AV_NOPTS_VALUE; } } - if (type == 0 && (!st->codec->extradata || st->codec->codec_id == AV_CODEC_ID_AAC)) { + if (type == 0 && (!st->codec->extradata || st->codec->codec_id == AV_CODEC_ID_AAC || + st->codec->codec_id == AV_CODEC_ID_H264)) { AVDictionaryEntry *t; if (st->codec->extradata) { |