diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2014-04-23 21:20:17 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-04-23 21:20:17 +0200 |
commit | 152b797cd687e96a582a1cb908dddf3d330d7637 (patch) | |
tree | 4f0deaa5a4c3947d9d08c7fc3929c6e33332aa65 | |
parent | 5d983fdbca5570a1545a892583a372cfb3fffe92 (diff) | |
download | ffmpeg-152b797cd687e96a582a1cb908dddf3d330d7637.tar.gz |
flv: Do not mangle dts values for negative cts
Some applications really mean to send negative pts.
-rw-r--r-- | libavformat/flvdec.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index cdb7c36776..3772cd967f 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -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) { |