]> git.sesse.net Git - vlc/commitdiff
Used VLC_TS_INVALID/0 in raw mpgv demuxer.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 20 Dec 2009 22:00:43 +0000 (23:00 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 20 Dec 2009 22:23:30 +0000 (23:23 +0100)
modules/demux/mpeg/mpgv.c

index e9cbd8e35653114ca1ea468e63125ee47b34cd08..407e6aa796e00723fc8c4500dd96b5372c5fa95b 100644 (file)
@@ -153,12 +153,12 @@ static int Demux( demux_t *p_demux )
     if( p_sys->b_start )
     {
         p_block_in->i_pts =
-        p_block_in->i_dts = 1;
+        p_block_in->i_dts = VLC_TS_0;
     }
     else
     {
         p_block_in->i_pts =
-        p_block_in->i_dts = 0;
+        p_block_in->i_dts = VLC_TS_INVALID;
     }
 
     while( (p_block_out = p_sys->p_packetizer->pf_packetize( p_sys->p_packetizer, &p_block_in )) )