[FFmpeg-cvslog] r17335 - trunk/libavcodec/mpegvideo_xvmc.c

diego subversion
Sun Feb 15 17:29:31 CET 2009


Author: diego
Date: Sun Feb 15 17:29:31 2009
New Revision: 17335

Log:
10l: Remove duplicated hunk of code.

Modified:
   trunk/libavcodec/mpegvideo_xvmc.c

Modified: trunk/libavcodec/mpegvideo_xvmc.c
==============================================================================
--- trunk/libavcodec/mpegvideo_xvmc.c	Sun Feb 15 17:05:37 2009	(r17334)
+++ trunk/libavcodec/mpegvideo_xvmc.c	Sun Feb 15 17:29:31 2009	(r17335)
@@ -87,12 +87,6 @@ int ff_xvmc_field_start(MpegEncContext*s
                "Rendering surface doesn't provide enough block structures to work with.\n");
         return -1;
     }
-    if (render->total_number_of_mv_blocks   < 1 ||
-        render->total_number_of_data_blocks < mb_block_count) {
-        av_log(avctx, AV_LOG_ERROR,
-               "Rendering surface doesn't provide enough block structures to work with.\n");
-        return -1;
-    }
 
     render->picture_structure = s->picture_structure;
     render->flags             = s->first_field ? 0 : XVMC_SECOND_FIELD;




More information about the ffmpeg-cvslog mailing list