From 152b797cd687e96a582a1cb908dddf3d330d7637 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Wed, 23 Apr 2014 21:20:17 +0200 Subject: flv: Do not mangle dts values for negative cts Some applications really mean to send negative pts. --- libavformat/flvdec.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavformat/flvdec.c') 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) { -- cgit v1.2.3