diff mbox series

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

Message ID D41CE2FHZMNC.1I4VP6NJG3ZSI@gmail.com
State New
Headers show
Series [FFmpeg-devel,01/60] fftools/ffmpeg_opt: fix variable shadowing | expand

Commit Message

Marvin Scholz Sept. 9, 2024, 12:38 a.m. UTC
---
 libavformat/bonk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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;