mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-26 04:50:25 +00:00
vp8: fix return value if update_dimensions fails
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
This commit is contained in:
parent
723229c11f
commit
f05c2fb6eb
@ -273,7 +273,7 @@ static int decode_frame_header(VP8Context *s, const uint8_t *buf, int buf_size)
|
|||||||
|
|
||||||
if (!s->macroblocks_base || /* first frame */
|
if (!s->macroblocks_base || /* first frame */
|
||||||
width != s->avctx->width || height != s->avctx->height) {
|
width != s->avctx->width || height != s->avctx->height) {
|
||||||
if ((ret = update_dimensions(s, width, height) < 0))
|
if ((ret = update_dimensions(s, width, height)) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user