aboutsummaryrefslogtreecommitdiff
path: root/lib/ffmpeg/libavcodec/eatgv.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ffmpeg/libavcodec/eatgv.c')
-rw-r--r--lib/ffmpeg/libavcodec/eatgv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ffmpeg/libavcodec/eatgv.c b/lib/ffmpeg/libavcodec/eatgv.c
index 8c6a654fad..075405a907 100644
--- a/lib/ffmpeg/libavcodec/eatgv.c
+++ b/lib/ffmpeg/libavcodec/eatgv.c
@@ -32,6 +32,7 @@
#define ALT_BITSTREAM_READER_LE
#include "get_bits.h"
#include "libavutil/lzo.h"
+#include "libavcore/imgutils.h"
#define EA_PREAMBLE_SIZE 8
#define kVGT_TAG MKTAG('k', 'V', 'G', 'T')
@@ -275,7 +276,7 @@ static int tgv_decode_frame(AVCodecContext *avctx,
}
}
- if (avcodec_check_dimensions(avctx, s->width, s->height))
+ if (av_image_check_size(s->width, s->height, 0, avctx))
return -1;
/* shuffle */
@@ -333,7 +334,7 @@ static av_cold int tgv_decode_end(AVCodecContext *avctx)
return 0;
}
-AVCodec eatgv_decoder = {
+AVCodec ff_eatgv_decoder = {
"eatgv",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_TGV,