Updated AVI demuxer to use VLC_TS_INVALID.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 20 Dec 2009 15:37:58 +0000 (16:37 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 20 Dec 2009 22:23:27 +0000 (23:23 +0100)
modules/demux/avi/avi.c

index 36c99eb..338e4fe 100644 (file)
@@ -1169,7 +1169,7 @@ static int Demux_Seekable( demux_t *p_demux )
         else
         {
             p_frame->i_dts = p_frame->i_pts;
-            p_frame->i_pts = 0;
+            p_frame->i_pts = VLC_TS_INVALID;
         }
 
         //p_pes->i_rate = p_demux->stream.control.i_rate;
@@ -1287,7 +1287,7 @@ static int Demux_UnSeekable( demux_t *p_demux )
                 else
                 {
                     p_frame->i_dts = p_frame->i_pts;
-                    p_frame->i_pts = 0;
+                    p_frame->i_pts = VLC_TS_INVALID;
                 }
 
                 //p_pes->i_rate = p_demux->stream.control.i_rate;