From 8ff4fff7741a2febfd52be80cee4aadba9f9d760 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 23 Dec 2011 19:52:15 +0100 Subject: [PATCH] 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 --- libavformat/flvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 765eee5893..57ef06126a 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -581,7 +581,7 @@ static int flv_read_packet(AVFormatContext *s, AVPacket *pkt) if (flv->wrong_dts) 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 ((ret = flv_queue_extradata(flv, s->pb, stream_type, size)) < 0) return ret;