[vlc-devel] commit: fix xxmc compilation. ( Rémi Duraffort )

git version control git at videolan.org
Wed Aug 26 11:10:25 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Aug 26 11:10:12 2009 +0200| [47b982641fec0894cd8064d145f29811f9127bf5] | committer: Rémi Duraffort 

fix xxmc compilation.

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

 modules/codec/xvmc/xxmc.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/modules/codec/xvmc/xxmc.c b/modules/codec/xvmc/xxmc.c
index 19b238b..d1552a1 100644
--- a/modules/codec/xvmc/xxmc.c
+++ b/modules/codec/xvmc/xxmc.c
@@ -220,6 +220,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 +233,7 @@ static void WriteDecodeFile(int value)
         fclose(f_wd_ok);
     }
 }
+#endif
 
 /*****************************************************************************
  * RunDecoder: the libmpeg2 decoder
@@ -639,6 +641,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 +679,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
  *****************************************************************************/




More information about the vlc-devel mailing list