[FFmpeg-devel] [PATCH 42/60] avformat/webpenc: fix variable shadowing
Marvin Scholz
epirat07 at gmail.com
Mon Sep 9 02:21:51 EEST 2024
---
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);
--
2.39.3 (Apple Git-146)
More information about the ffmpeg-devel
mailing list