Commit 1cf488fe authored by diego's avatar diego

10l: Remove duplicated hunk of code.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17335 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1f422286
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment