[SCM] libav/experimental: flv: Do not mangle dts values for negative cts

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:02:57 UTC 2014


The following commit has been merged in the experimental branch:
commit 152b797cd687e96a582a1cb908dddf3d330d7637
Author: Luca Barbato <lu_zero at gentoo.org>
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.

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/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list