mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 08:12:44 +00:00
avformat/flvdec: use AV_PKT_DATA_NEW_EXTRADATA for h264 too
Fixes Ticket 3787 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
601c238854
commit
01b236b704
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user