changeset 8922:baee840662af libavcodec

10l: Remove duplicated hunk of code.
author diego
date Sun, 15 Feb 2009 16:29:31 +0000
parents 233fda721f1b
children 7117ea11df1e
files mpegvideo_xvmc.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo_xvmc.c	Sun Feb 15 16:02:07 2009 +0000
+++ b/mpegvideo_xvmc.c	Sun Feb 15 16:29:31 2009 +0000
@@ -87,12 +87,6 @@
                "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;