flv: Do not mangle dts values for negative cts

Some applications really mean to send negative pts.
This commit is contained in:
Luca Barbato 2014-04-23 21:20:17 +02:00
parent 5d983fdbca
commit 152b797cd6

View File

@ -901,8 +901,6 @@ skip:
av_log(s, AV_LOG_WARNING, av_log(s, AV_LOG_WARNING,
"Negative cts, previous timestamps might be wrong.\n"); "Negative cts, previous timestamps might be wrong.\n");
} }
if (flv->wrong_dts)
dts = AV_NOPTS_VALUE;
} }
if (type == 0) { if (type == 0) {
if (st->codec->extradata) { if (st->codec->extradata) {