diff mmvideo.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 54bc8a2727b0
children dff431441c9c
line wrap: on
line diff
--- a/mmvideo.c	Tue Oct 13 18:31:22 2009 +0000
+++ b/mmvideo.c	Tue Oct 13 20:13:28 2009 +0000
@@ -58,9 +58,6 @@
 
     avctx->pix_fmt = PIX_FMT_PAL8;
 
-    if (avcodec_check_dimensions(avctx, avctx->width, avctx->height))
-        return -1;
-
     s->frame.reference = 1;
     if (avctx->get_buffer(avctx, &s->frame)) {
         av_log(s->avctx, AV_LOG_ERROR, "mmvideo: get_buffer() failed\n");