]> git.sesse.net Git - vlc/blobdiff - modules/demux/dirac.c
Use var_Inherit* instead of var_CreateGet*.
[vlc] / modules / demux / dirac.c
index b00a2113d23c418dd9af88740b1dba139e9adcb2..01d923dacf6e675aaac3b9ebed074115839d1bde 100644 (file)
@@ -33,7 +33,7 @@
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_demux.h>
-#include "vlc_codec.h"
+#include <vlc_codec.h>
 
 #define DEMUX_CFG_PREFIX "dirac-"
 
@@ -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;
         }
     }