diff v210dec.c @ 10397:d7ed9dcc78e3 libavcodec

Remove unnecessary calls to avcodec_check_dimensions, the check is already done at a higher level.
author reimar
date Tue, 13 Oct 2009 20:13:28 +0000
parents 2bb3882075b6
children 8a4984c5cacc
line wrap: on
line diff
--- a/v210dec.c	Tue Oct 13 18:31:22 2009 +0000
+++ b/v210dec.c	Tue Oct 13 20:13:28 2009 +0000
@@ -30,8 +30,6 @@
         av_log(avctx, AV_LOG_ERROR, "v210 needs even width\n");
         return -1;
     }
-    if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0)
-        return -1;
     avctx->pix_fmt             = PIX_FMT_YUV422P16;
     avctx->bits_per_raw_sample = 10;