提交 152b797c 编写于 作者: L Luca Barbato

flv: Do not mangle dts values for negative cts

Some applications really mean to send negative pts.
上级 5d983fdb
......@@ -901,8 +901,6 @@ skip:
av_log(s, AV_LOG_WARNING,
"Negative cts, previous timestamps might be wrong.\n");
}
if (flv->wrong_dts)
dts = AV_NOPTS_VALUE;
}
if (type == 0) {
if (st->codec->extradata) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册