[FFmpeg-soc] [soc]: r3778 - dirac/libavcodec/diracdec.c

conrad subversion at mplayerhq.hu
Mon Nov 10 04:11:26 CET 2008


Author: conrad
Date: Mon Nov 10 04:11:26 2008
New Revision: 3778

Log:
Remove redundant avcodec_check_dimensions


Modified:
   dirac/libavcodec/diracdec.c

Modified: dirac/libavcodec/diracdec.c
==============================================================================
--- dirac/libavcodec/diracdec.c	(original)
+++ dirac/libavcodec/diracdec.c	Mon Nov 10 04:11:26 2008
@@ -849,11 +849,6 @@ START_TIMER
     }
 
     /* Allocate memory for the IDWT to work in.  */
-    if (avcodec_check_dimensions(avctx, s->padded_luma_width,
-                                 s->padded_luma_height)) {
-        av_log(avctx, AV_LOG_ERROR, "avcodec_check_dimensions() failed\n");
-        return -1;
-    }
     synth = av_malloc(s->padded_luma_width * s->padded_luma_height
                       * sizeof(int16_t));
     if (!synth) {



More information about the FFmpeg-soc mailing list