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 e9cbd8e..407e6aa 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 )) )