From 0037c5abdd00e959d22ebd395dea1104ddb0053f Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sat, 21 Feb 2026 14:04:53 +0100 Subject: [PATCH] avformat/webpenc: Fix shadowing Signed-off-by: Andreas Rheinhardt --- libavformat/webpenc.c | 1 - 1 file changed, 1 deletion(-) 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);