summaryrefslogtreecommitdiff
path: root/libavformat/flvdec.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-04-23 21:20:17 +0200
committerLuca Barbato <lu_zero@gentoo.org>2014-04-23 21:20:17 +0200
commit152b797cd687e96a582a1cb908dddf3d330d7637 (patch)
tree4f0deaa5a4c3947d9d08c7fc3929c6e33332aa65 /libavformat/flvdec.c
parent5d983fdbca5570a1545a892583a372cfb3fffe92 (diff)
flv: Do not mangle dts values for negative cts
Some applications really mean to send negative pts.
Diffstat (limited to 'libavformat/flvdec.c')
-rw-r--r--libavformat/flvdec.c2
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) {