mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
avcodec/vp5: Fix shadowing
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user