avformat/webpenc: Fix shadowing

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2026-02-21 14:04:53 +01:00
parent 61c22c71c2
commit 0037c5abdd

View File

@@ -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);