[vlc-devel] commit: Win32: kill warning about undefined preproc variable ( Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Aug 23 13:18:37 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 23 13:17:03 2009 +0200| [6541e664f1ffe2c0e94e5d2148d1d4d666a40910] | committer: Jean-Baptiste Kempf 

Win32: kill warning about undefined preproc variable

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

 modules/video_output/opengl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index 9050d5e..0db1210 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -252,7 +252,7 @@ static int Init( vout_thread_t *p_vout )
     p_vout->output.i_chroma = VLC_CODEC_YUYV;
     i_pixel_pitch = 2;
 
-#elif (VLCGL_FORMAT == GL_YCBCR_422_APPLE)
+#elif defined( GL_YCBCR_422_APPLE ) && (VLCGL_FORMAT == GL_YCBCR_422_APPLE)
     p_vout->output.i_chroma = VLC_CODEC_UYVY;
     i_pixel_pitch = 2;
 




More information about the vlc-devel mailing list