summaryrefslogtreecommitdiff
path: root/libavcodec/sgidec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/sgidec.c')
-rw-r--r--libavcodec/sgidec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/sgidec.c b/libavcodec/sgidec.c
index 9d42104591..3c199e215e 100644
--- a/libavcodec/sgidec.c
+++ b/libavcodec/sgidec.c
@@ -202,7 +202,7 @@ static int decode_frame(AVCodecContext *avctx,
return -1;
}
- if (av_check_image_size(s->width, s->height, 0, avctx))
+ if (av_image_check_size(s->width, s->height, 0, avctx))
return -1;
avcodec_set_dimensions(avctx, s->width, s->height);