]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dxa.c
Remove unused function msmpeg4_memsetw().
[ffmpeg] / libavcodec / dxa.c
index 69aed3c89e2ff9c40d7edb3fabae3908a53f0821..c06ab85cc79b293bee55e7740c7928a36ff7d5bb 100644 (file)
@@ -295,10 +295,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->dsize = avctx->width * avctx->height * 2;
     if((c->decomp_buf = av_malloc(c->dsize)) == NULL) {
         av_log(avctx, AV_LOG_ERROR, "Can't allocate decompression buffer.\n");