diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-23 19:52:15 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-12-23 23:06:56 +0100 |
commit | 8ff4fff7741a2febfd52be80cee4aadba9f9d760 (patch) | |
tree | 462fb866763677e997c15c1549ac0fec4d3d8822 /libavformat | |
parent | c2c284b3eb9665f7c376ff2dba19d65a82f35495 (diff) | |
download | ffmpeg-8ff4fff7741a2febfd52be80cee4aadba9f9d760.tar.gz |
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>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/flvdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |