diff mbox series

[FFmpeg-devel,42/60] avformat/webpenc: fix variable shadowing

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

Commit Message

Marvin Scholz Sept. 8, 2024, 11:21 p.m. UTC
---
 libavformat/webpenc.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/libavformat/webpenc.c b/libavformat/webpenc.c
index ce0d046aa9..5d0eed5a8e 100644
--- a/libavformat/webpenc.c
+++ b/libavformat/webpenc.c
@@ -163,7 +163,6 @@  static int webp_write_packet(AVFormatContext *s, AVPacket *pkt)
         avio_write(s->pb, pkt->data, pkt->size);
         w->wrote_webp_header = 1;  // for good measure
     } else {
-        int ret;
         if ((ret = flush(s, 0, pkt->pts)) < 0)
             return ret;
         av_packet_ref(w->last_pkt, pkt);