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;