Commit 152b797c authored by Luca Barbato's avatar Luca Barbato

flv: Do not mangle dts values for negative cts

Some applications really mean to send negative pts.
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment