From 7e70503ed4cde3951e3d2cab22f28d5a2fcbc1d3 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 24 Feb 2026 02:26:35 +0100 Subject: [PATCH] avcodec/vp5: Fix shadowing Signed-off-by: Andreas Rheinhardt --- libavcodec/vp5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vp5.c b/libavcodec/vp5.c index 98b8cf41f2..e83647b622 100644 --- a/libavcodec/vp5.c +++ b/libavcodec/vp5.c @@ -75,7 +75,7 @@ static int vp5_parse_header(VP56Context *s, const uint8_t *buf, int buf_size) if (!s->macroblocks || /* first frame */ 16*cols != s->avctx->coded_width || 16*rows != s->avctx->coded_height) { - int ret = ff_set_dimensions(s->avctx, 16 * cols, 16 * rows); + ret = ff_set_dimensions(s->avctx, 16 * cols, 16 * rows); if (ret < 0) return ret; return VP56_SIZE_CHANGE;