diff vmnc.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 eb2a897f89d5
children 8a4984c5cacc
line wrap: on
line diff
--- a/vmnc.c	Tue Oct 13 18:31:22 2009 +0000
+++ b/vmnc.c	Tue Oct 13 20:13:28 2009 +0000
@@ -468,9 +468,6 @@
     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;
     c->bpp2 = c->bpp/8;