diff zmbvenc.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 38cfe222e1a4
children 7ff7a34848bf
line wrap: on
line diff
--- a/zmbvenc.c	Tue Oct 13 18:31:22 2009 +0000
+++ b/zmbvenc.c	Tue Oct 13 20:13:28 2009 +0000
@@ -263,10 +263,6 @@
         return -1;
     }
 
-    if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) {
-        return -1;
-    }
-
     // Needed if zlib unused or init aborted before deflateInit
     memset(&(c->zstream), 0, sizeof(z_stream));
     c->comp_size = avctx->width * avctx->height + 1024 +