提交 8ff4fff7 编写于 作者: M Michael Niedermayer

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: NMichael Niedermayer <michaelni@gmx.at>
上级 c2c284b3
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册