Commit 01b236b7 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/flvdec: use AV_PKT_DATA_NEW_EXTRADATA for h264 too

Fixes Ticket 3787
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 601c2388
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment