[vlc-commits] Swscale: correct pragma for iOS

Jean-Baptiste Kempf git at videolan.org
Sun Jul 29 20:37:47 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jul 29 13:15:02 2012 +0200| [545ffea420a50b56fff1e99aedb8e8e303856ed5] | committer: Jean-Baptiste Kempf

Swscale: correct pragma for iOS

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

 modules/video_filter/swscale.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_filter/swscale.c b/modules/video_filter/swscale.c
index c77ce62..28d3b02 100644
--- a/modules/video_filter/swscale.c
+++ b/modules/video_filter/swscale.c
@@ -307,7 +307,7 @@ static int GetParameters( ScalerConfiguration *p_cfg,
     FixParameters( &i_fmti, &b_has_ai, &b_swap_uvi, p_fmti->i_chroma );
     FixParameters( &i_fmto, &b_has_ao, &b_swap_uvo, p_fmto->i_chroma );
 
-#if !defined (__ANDROID__) && !TARGET_OS_IPHONE
+#if !defined (__ANDROID__) && !defined(TARGET_OS_IPHONE)
     /* FIXME TODO removed when ffmpeg is fixed
      * Without SWS_ACCURATE_RND the quality is really bad for some conversions */
     switch( i_fmto )



More information about the vlc-commits mailing list