[FFmpeg-devel] [PATCH 28/60] avcodec/fix: fix variable shadowing

Marvin Scholz epirat07 at gmail.com
Mon Sep 9 00:32:59 EEST 2024


---
 libavcodec/fic.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/fic.c b/libavcodec/fic.c
index ec26e3154d..4763fab689 100644
--- a/libavcodec/fic.c
+++ b/libavcodec/fic.c
@@ -191,8 +191,6 @@ static int fic_decode_slice(AVCodecContext *avctx, void *tdata)
 
         for (y = 0; y < (slice_h >> !!p); y += 8) {
             for (x = 0; x < (ctx->aligned_width >> !!p); x += 8) {
-                int ret;
-
                 if ((ret = fic_decode_block(ctx, &gb, dst + x, stride,
                                             tctx->block, &tctx->p_frame)) != 0)
                     return ret;
-- 
2.39.3 (Apple Git-146)




More information about the ffmpeg-devel mailing list