]> git.sesse.net Git - vlc/commitdiff
asf: fix VLC_TS_INVALID comparison spotted by nefrir
authorRafaël Carré <rafael.carre@gmail.com>
Tue, 8 Dec 2009 11:04:03 +0000 (12:04 +0100)
committerRafaël Carré <rafael.carre@gmail.com>
Tue, 8 Dec 2009 11:04:03 +0000 (12:04 +0100)
modules/mux/asf.c

index a50e3cfb7236f7f03bcff0a7df36104dea05e3f2..323bc07e64ac1e167bd0e3030d773d34ffa91f3e 100644 (file)
@@ -706,7 +706,7 @@ static int Mux( sout_mux_t *p_mux )
             return VLC_SUCCESS;
         }
 
-        if( p_sys->i_dts_first < VLC_TS_INVALID )
+        if( p_sys->i_dts_first <= VLC_TS_INVALID )
         {
             p_sys->i_dts_first = i_dts;
         }