summaryrefslogtreecommitdiff
path: root/libavcodec/txd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/txd.c')
-rw-r--r--libavcodec/txd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/txd.c b/libavcodec/txd.c
index 320949ec1f..e7d3379391 100644
--- a/libavcodec/txd.c
+++ b/libavcodec/txd.c
@@ -80,7 +80,7 @@ static int txd_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
if (p->data[0])
avctx->release_buffer(avctx, p);
- if (av_check_image_size(w, h, 0, avctx))
+ if (av_image_check_size(w, h, 0, avctx))
return -1;
if (w != avctx->width || h != avctx->height)
avcodec_set_dimensions(avctx, w, h);