]> 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 d5e1a3d2ed6b1984e2e4741d244d416dd563c07c..786ae9adbb7519ec86013dd60a9a0c74056f5ef2 100644 (file)
  * Preamble
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 #include <vlc_demux.h>
 #include "vlc_codec.h"
@@ -73,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;