vlc | branch: master | Steve Lhomme <[email protected]> | Mon May 28 13:58:21 2018 +0200| [37fba57c23f1f763ef2f7e9687a3d6ca3150254d] | committer: Steve Lhomme
picture: remove the extra 2 lines per picture for SIMD Following this thread [1] we probably don't need these lines anymore. 1: https://mailman.videolan.org/pipermail/vlc-devel/2018-April/118535.html > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=37fba57c23f1f763ef2f7e9687a3d6ca3150254d --- src/misc/picture.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/misc/picture.c b/src/misc/picture.c index f6abd6016a..2b55796def 100644 --- a/src/misc/picture.c +++ b/src/misc/picture.c @@ -140,10 +140,6 @@ int picture_Setup( picture_t *p_picture, const video_format_t *restrict fmt ) width = width / i_modulo_w * i_modulo_w; height = height / i_modulo_h * i_modulo_h; - /* Hack: append two scan lines for some SIMD assembler */ - if (unlikely(add_overflow(height, 2 * i_ratio_h, &height))) - return VLC_EGENERIC; - /* plane_t uses 'int'. */ if (unlikely(width > INT_MAX) || unlikely(height > INT_MAX)) return VLC_EGENERIC; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
