diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-07-23 17:08:56 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-23 17:41:12 +0200 |
commit | 01b236b70438527946b0dd79894c0105bc668c91 (patch) | |
tree | a04dab272828835fcb4e74e9b4743e437d2d76bc | |
parent | 601c2388549ff395bc99383029e92c2219152af0 (diff) | |
download | ffmpeg-01b236b70438527946b0dd79894c0105bc668c91.tar.gz |
avformat/flvdec: use AV_PKT_DATA_NEW_EXTRADATA for h264 too
Fixes Ticket 3787
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-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 899a0368f4..a97fc32a20 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) { |