[vlc-devel] commit: asf: fix VLC_TS_INVALID comparison spotted by nefrir ( Rafaël Carré )

git version control git at videolan.org
Tue Dec 8 12:38:40 CET 2009


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Tue Dec  8 12:04:03 2009 +0100| [ced2f640a37a71ecceddb9bbf44885e4aef01f12] | committer: Rafaël Carré 

asf: fix VLC_TS_INVALID comparison spotted by nefrir

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

 modules/mux/asf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/mux/asf.c b/modules/mux/asf.c
index a50e3cf..323bc07 100644
--- a/modules/mux/asf.c
+++ b/modules/mux/asf.c
@@ -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;
         }




More information about the vlc-devel mailing list