[vlc-devel] commit: Updated AVI demuxer to use VLC_TS_INVALID. (Laurent Aimar )

git version control git at videolan.org
Mon Dec 21 00:02:30 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Dec 20 16:37:58 2009 +0100| [5c8ab0cc52f763104ed53108510e17e7924b6fbb] | committer: Laurent Aimar 

Updated AVI demuxer to use VLC_TS_INVALID.

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

 modules/demux/avi/avi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index 36c99eb..338e4fe 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -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;




More information about the vlc-devel mailing list