Module: libav Branch: master Commit: 152b797cd687e96a582a1cb908dddf3d330d7637
Author: Luca Barbato <[email protected]> Committer: Luca Barbato <[email protected]> Date: Wed Apr 23 21:20:17 2014 +0200 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(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index cdb7c36..3772cd9 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) { _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
