[FFmpeg-soc] [soc]: r3953 - dirac/libavcodec/dirac.c

conrad subversion at mplayerhq.hu
Tue Jan 13 07:23:02 CET 2009


Author: conrad
Date: Tue Jan 13 07:23:02 2009
New Revision: 3953

Log:
Remove useless avcodec_check_dimensions check; this is already checked in
ff_dirac_parse_sequence_header

Modified:
   dirac/libavcodec/dirac.c

Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c	Tue Jan 13 07:23:00 2009	(r3952)
+++ dirac/libavcodec/dirac.c	Tue Jan 13 07:23:02 2009	(r3953)
@@ -951,13 +951,6 @@ int dirac_motion_compensation(DiracConte
                                       s->refdata[i], comp, p->xblen, p->yblen);
     }
 
-    if (avcodec_check_dimensions(s->avctx, p->width, p->height)) {
-        for (i = 0; i < s->refs; i++)
-            av_free(s->refdata[i]);
-
-        return -1;
-    }
-
     s->mcpic = av_malloc(p->width * p->height * sizeof(int16_t));
     if (!s->mcpic) {
         for (i = 0; i < s->refs; i++)



More information about the FFmpeg-soc mailing list