[FFmpeg-devel] [PATCH 57/60] avformat/bonk: fix variable shadowing

Marvin Scholz epirat07 at gmail.com
Mon Sep 9 03:38:21 EEST 2024


---
 libavformat/bonk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/bonk.c b/libavformat/bonk.c
index 44de8e2087..d5eacfdc91 100644
--- a/libavformat/bonk.c
+++ b/libavformat/bonk.c
@@ -63,7 +63,7 @@ static int bonk_read_header(AVFormatContext *s)
         const int b = avio_r8(s->pb);
         if (!b) {
             uint32_t t;
-            int ret = ffio_ensure_seekback(s->pb, 3);
+            ret = ffio_ensure_seekback(s->pb, 3);
 
             if (ret < 0)
                 return ret;
-- 
2.39.3 (Apple Git-146)




More information about the ffmpeg-devel mailing list