summaryrefslogtreecommitdiff
path: root/libavformat/flvdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-23 19:52:15 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-23 23:06:56 +0100
commit8ff4fff7741a2febfd52be80cee4aadba9f9d760 (patch)
tree462fb866763677e997c15c1549ac0fec4d3d8822 /libavformat/flvdec.c
parentc2c284b3eb9665f7c376ff2dba19d65a82f35495 (diff)
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/flvdec.c')
-rw-r--r--libavformat/flvdec.c2
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;