Browse Source

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>
tags/n0.10
Michael Niedermayer 14 years ago
parent
commit
8ff4fff774
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/flvdec.c

+ 1
- 1
libavformat/flvdec.c View File

@@ -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;


Loading…
Cancel
Save