[vlc-commits] [Git][videolan/vlc][master] opengl: fix warning on non-Apple builds

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Oct 19 08:01:58 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
33bb2aec by Steve Lhomme at 2023-10-19T07:47:46+00:00
opengl: fix warning on non-Apple builds

TARGET_OS_IPHONE is not defined in most cases.

- - - - -


1 changed file:

- modules/video_output/opengl/display.c


Changes:

=====================================
modules/video_output/opengl/display.c
=====================================
@@ -190,7 +190,7 @@ static void PlacePicture(vout_display_t *vd, vout_display_place_t *place,
 static int Open(vout_display_t *vd,
                 video_format_t *fmt, vlc_video_context *context)
 {
-#if TARGET_OS_IPHONE
+#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
     if (fmt->i_chroma == VLC_CODEC_CVPX_P010)
         return VLC_EGENERIC;
 #endif



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/33bb2aec271089e1af693080b4f13039a5eacfa7

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/33bb2aec271089e1af693080b4f13039a5eacfa7
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list