[FFmpeg-devel] [PATCH 55/60] avformat/img2enc: fix variable shadowing
Marvin Scholz
epirat07 at gmail.com
Mon Sep 9 03:29:44 EEST 2024
---
libavformat/img2enc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/img2enc.c b/libavformat/img2enc.c
index 526a11e5ee..ae239d27ea 100644
--- a/libavformat/img2enc.c
+++ b/libavformat/img2enc.c
@@ -224,7 +224,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
goto fail;
for (i = 0; i < nb_renames; i++) {
- int ret = ff_rename(img->tmp[i], img->target[i], s);
+ ret = ff_rename(img->tmp[i], img->target[i], s);
if (ret < 0)
return ret;
}
--
2.39.3 (Apple Git-146)
More information about the ffmpeg-devel
mailing list