PR #20618 opened by mkver
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20618
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20618.patch

Forgotten in d6cb0d2c2bb8469f17d59dd82c8221b98e169d1a.


>From af8474d800cd3a55fbcd763766102f2c8d5042c2 Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt <[email protected]>
Date: Fri, 26 Sep 2025 22:16:40 +0200
Subject: [PATCH] swscale/ppc/swscale_ppc_template: Fix av_unused placement

Forgotten in d6cb0d2c2bb8469f17d59dd82c8221b98e169d1a.

Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libswscale/ppc/swscale_ppc_template.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libswscale/ppc/swscale_ppc_template.c 
b/libswscale/ppc/swscale_ppc_template.c
index 7e502d5069..1e0c095285 100644
--- a/libswscale/ppc/swscale_ppc_template.c
+++ b/libswscale/ppc/swscale_ppc_template.c
@@ -125,8 +125,8 @@ static void FUNC(hScale_real)(SwsInternal *c, int16_t *dst, 
int dstW,
     case 8:
         for (register int i = 0; i < dstW; i++) {
             register int srcPos = filterPos[i];
-            vector unsigned char src_vF, av_unused src_v0, av_unused src_v1;
-            vector unsigned char av_unused permS;
+            vector unsigned char src_vF;
+            av_unused vector unsigned char src_v0, src_v1, permS;
             vector signed short src_v, filter_v;
             vector signed int val_v, val_s;
             FIRST_LOAD(src_v0, srcPos, src, permS);
-- 
2.49.1

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to