]> git.sesse.net Git - vlc/commitdiff
Win32: kill warning about undefined preproc variable
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 23 Aug 2009 11:17:03 +0000 (13:17 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 23 Aug 2009 11:17:03 +0000 (13:17 +0200)
modules/video_output/opengl.c

index 9050d5e8299cfda7cc0774ecf402738c6d6bdd30..0db1210e392ea6fda26fed7a8869b7d853b4b09d 100644 (file)
@@ -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;