[vlc-devel] commit: Used VLC_TS_0 in dirac demuxer. (Laurent Aimar )

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


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Dec 20 20:50:26 2009 +0100| [32c3fa209f930cea7c673c0f132d877f8cd1c71b] | committer: Laurent Aimar 

Used VLC_TS_0 in dirac demuxer.

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

 modules/demux/dirac.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/modules/demux/dirac.c b/modules/demux/dirac.c
index 82f8969..01d923d 100644
--- a/modules/demux/dirac.c
+++ b/modules/demux/dirac.c
@@ -176,12 +176,7 @@ static int Demux( demux_t *p_demux)
             p_sys->i_state++;
             /* by default, timestamps are invalid.
              * Except when we need an anchor point */
-#if VLC_TS_INVALID == 0
-            /* xxx: to be removed in 1.1 */
-            p_block_in->i_dts = 1;
-#else
-            p_block_in->i_dts = 0;
-#endif
+            p_block_in->i_dts = VLC_TS_0;
         }
     }
 




More information about the vlc-devel mailing list