avcodec/vp5: Fix shadowing

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2026-02-24 02:26:35 +01:00
parent 67217549c8
commit 7e70503ed4

View File

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