]> git.sesse.net Git - vlc/blobdiff - modules/demux/vc1.c
Compile XvMC. Disabled the subtitles part for that. Commented a few things. This...
[vlc] / modules / demux / vc1.c
index 49fc98ea553583c502901956a3a72bfdb6f03ab9..786ae9adbb7519ec86013dd60a9a0c74056f5ef2 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
 
 #include <vlc/vlc.h>
 #include <vlc_demux.h>
@@ -74,7 +77,7 @@ static int Open( vlc_object_t * p_this )
 {
     demux_t     *p_demux = (demux_t*)p_this;
     demux_sys_t *p_sys;
-    uint8_t     *p_peek;
+    const uint8_t *p_peek;
     vlc_value_t val;
 
     if( stream_Peek( p_demux->s, &p_peek, 5 ) < 5 ) return VLC_EGENERIC;
@@ -135,7 +138,7 @@ static int Demux( demux_t *p_demux)
     if( ( p_block_in = stream_Block( p_demux->s, VC1_PACKET_SIZE ) ) == NULL )
         return 0;
 
-    /*  */ 
+    /*  */
     p_block_in->i_dts = 1;
     p_block_in->i_pts = 1;