diff options
Diffstat (limited to 'libavcodec/vb.c')
-rw-r--r-- | libavcodec/vb.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/vb.c b/libavcodec/vb.c index 02efa030a5..551b10657c 100644 --- a/libavcodec/vb.c +++ b/libavcodec/vb.c @@ -251,10 +251,6 @@ static av_cold int decode_init(AVCodecContext *avctx) c->avctx = avctx; avctx->pix_fmt = PIX_FMT_PAL8; - if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) { - return -1; - } - c->frame = av_malloc( avctx->width * avctx->height); c->prev_frame = av_malloc( avctx->width * avctx->height); |