summaryrefslogtreecommitdiff
path: root/libavcodec/zmbv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/zmbv.c')
-rw-r--r--libavcodec/zmbv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c
index de2eb9c4c6..35a31c0924 100644
--- a/libavcodec/zmbv.c
+++ b/libavcodec/zmbv.c
@@ -602,9 +602,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
c->width = avctx->width;
c->height = avctx->height;
- if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) {
- return 1;
- }
c->bpp = avctx->bits_per_coded_sample;
// Needed if zlib unused or init aborted before inflateInit