[vlc-commits] access:dshow: remove dead code

Steve Lhomme git at videolan.org
Mon Mar 19 09:18:43 CET 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Mar 19 09:04:28 2018 +0100| [14251937d99bd4411f2192bf58402c1daa1b5204] | committer: Steve Lhomme

access:dshow: remove dead code

Not sure what this shift is for but keep it for now

CID #1465526

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=14251937d99bd4411f2192bf58402c1daa1b5204
---

 modules/access/dshow/dshow.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/dshow/dshow.cpp b/modules/access/dshow/dshow.cpp
index efe87b7593..ef615e6628 100644
--- a/modules/access/dshow/dshow.cpp
+++ b/modules/access/dshow/dshow.cpp
@@ -1885,7 +1885,7 @@ static int Demux( demux_t *p_demux )
             }
 
             if( i_pts > VLC_TS_INVALID ) {
-                i_pts += (i_pts >= 0) ? +5 : -4;
+                i_pts += 5;
                 i_pts /= 10; /* 100-ns to µs conversion */
                 i_pts += VLC_TS_0;
             }



More information about the vlc-commits mailing list