aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-02-15 16:29:31 +0000
committerDiego Biurrun <diego@biurrun.de>2009-02-15 16:29:31 +0000
commitc1e7b256ec9b4bcbda4cc3c58f7241582ca57117 (patch)
tree3557bef131a0655fab23e48a1ebe671e2b12b585 /libavcodec
parentf702df396d10c68d615c405d23a55be1116822b0 (diff)
downloadffmpeg-c1e7b256ec9b4bcbda4cc3c58f7241582ca57117.tar.gz
10l: Remove duplicated hunk of code.
Originally committed as revision 17335 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpegvideo_xvmc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/mpegvideo_xvmc.c b/libavcodec/mpegvideo_xvmc.c
index 41cca0b8ab..301b9ad6e8 100644
--- a/libavcodec/mpegvideo_xvmc.c
+++ b/libavcodec/mpegvideo_xvmc.c
@@ -87,12 +87,6 @@ int ff_xvmc_field_start(MpegEncContext*s, AVCodecContext *avctx)
"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;