]> git.sesse.net Git - vlc/blobdiff - modules/codec/xvmc/xxmc.c
GLX: remove silly --glx-shm option
[vlc] / modules / codec / xvmc / xxmc.c
index 19b238b9fb87d7450f4d1f82310a2b3e28664083..8d16ff5b7480f03a7ddd299f30218350e2c41dae 100644 (file)
@@ -33,6 +33,7 @@
 #include <vlc_plugin.h>
 #include <vlc_codec.h>
 #include <vlc_codec_synchro.h>
+#include <vlc_cpu.h>
 
 #include <unistd.h>
 #ifdef __GLIBC__
@@ -220,6 +221,7 @@ static int OpenDecoder( vlc_object_t *p_this )
     return VLC_SUCCESS;
 }
 
+#if 0
 static void WriteDecodeFile(int value)
 {
     FILE *f_wd_ok;
@@ -232,6 +234,7 @@ static void WriteDecodeFile(int value)
         fclose(f_wd_ok);
     }
 }
+#endif
 
 /*****************************************************************************
  * RunDecoder: the libmpeg2 decoder
@@ -639,6 +642,7 @@ static void CloseDecoder( vlc_object_t *p_this )
     free( p_sys );
 }
 
+#if 0
 static double get_aspect_ratio( decoder_t *p_dec )
 {
     decoder_sys_t *p_sys = p_dec->p_sys;
@@ -676,6 +680,8 @@ static double get_aspect_ratio( decoder_t *p_dec )
     }
     return ratio;
 }
+#endif
+
 /*****************************************************************************
  * GetNewPicture: Get a new picture from the vout and set the buf struct
  *****************************************************************************/