[vlc-commits] [Git][videolan/vlc][master] swscale: remove dead code

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Thu Jun 11 12:18:11 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
b38a8cbf by Steve Lhomme at 2026-06-11T13:58:04+02:00
swscale: remove dead code

We require swscale 0.5.0 since 0db7f9c774a75e2631522ecb414f631381b4d37c.

- - - - -


1 changed file:

- modules/video_chroma/swscale.c


Changes:

=====================================
modules/video_chroma/swscale.c
=====================================
@@ -710,13 +710,8 @@ static void Convert( filter_t *p_filter, struct SwsContext *ctx,
     for (size_t i = 0; i < ARRAY_SIZE(src); i++)
         csrc[i] = src[i];
 
-#if LIBSWSCALE_VERSION_INT  >= ((0<<16)+(5<<8)+0)
     sws_scale( ctx, csrc, src_stride, 0, i_height,
                dst, dst_stride );
-#else
-    sws_scale_ordered( ctx, csrc, src_stride, 0, i_height,
-                       dst, dst_stride );
-#endif
 }
 
 /****************************************************************************



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b38a8cbf0e10ac30674e26fb3275f45205cf7a02
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list