From fc8c6d4665799100134d64315fb2c0b6a26af227 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 13 Apr 2026 01:27:05 +0200 Subject: [PATCH] swscale/swscale: Remove ineffective check If any of the dstStrides is not aligned mod 16, the warning above this one will be triggered, setting stride_unaligned_warned, so that the following check for stride_unaligned_warned will be always false. Reviewed-by: Niklas Haas Signed-off-by: Andreas Rheinhardt --- libswscale/swscale.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 3ebbcd5d3f..38320fe1c4 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -357,7 +357,6 @@ int ff_swscale(SwsInternal *c, const uint8_t *const src[], const int srcStride[] #if ARCH_X86 if ( (uintptr_t) dst[0]&15 || (uintptr_t) dst[1]&15 || (uintptr_t) dst[2]&15 || (uintptr_t)src2[0]&15 || (uintptr_t)src2[1]&15 || (uintptr_t)src2[2]&15 - || dstStride[0]&15 || dstStride[1]&15 || dstStride[2]&15 || dstStride[3]&15 || srcStride2[0]&15 || srcStride2[1]&15 || srcStride2[2]&15 || srcStride2[3]&15 ) { SwsInternal *const ctx = c->parent ? sws_internal(c->parent) : c;