Return error instead of triggering assert.

Originally committed as revision 17287 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ivan Kalvachev 2009-02-14 22:06:00 +00:00
parent 930efaf410
commit 013cebfbe8

View File

@ -80,7 +80,7 @@ int ff_xvmc_field_start(MpegEncContext*s, AVCodecContext *avctx)
av_log(avctx, AV_LOG_ERROR,
"Rendering surface contains %i unprocessed blocks\n",
render->filled_mv_blocks_num);
assert(0);
return -1;
}
render->p_future_surface = NULL;