1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

flvdec: disable new midstream param change code not only for h264 but all cases.

It breaks some samples and iam not aware of one that it fixes.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2011-12-23 19:52:15 +01:00
parent c2c284b3eb
commit 8ff4fff774

View File

@@ -581,7 +581,7 @@ static int flv_read_packet(AVFormatContext *s, AVPacket *pkt)
if (flv->wrong_dts) if (flv->wrong_dts)
dts = AV_NOPTS_VALUE; dts = AV_NOPTS_VALUE;
} }
if (type == 0 && (!st->codec->extradata || st->codec->codec_id != CODEC_ID_H264)) { if (type == 0 && !st->codec->extradata) {
if (st->codec->extradata) { if (st->codec->extradata) {
if ((ret = flv_queue_extradata(flv, s->pb, stream_type, size)) < 0) if ((ret = flv_queue_extradata(flv, s->pb, stream_type, size)) < 0)
return ret; return ret;