mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-13 02:41:37 +00:00
Return error instead of triggering assert.
Originally committed as revision 17287 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
930efaf410
commit
013cebfbe8
@ -80,7 +80,7 @@ int ff_xvmc_field_start(MpegEncContext*s, AVCodecContext *avctx)
|
|||||||
av_log(avctx, AV_LOG_ERROR,
|
av_log(avctx, AV_LOG_ERROR,
|
||||||
"Rendering surface contains %i unprocessed blocks\n",
|
"Rendering surface contains %i unprocessed blocks\n",
|
||||||
render->filled_mv_blocks_num);
|
render->filled_mv_blocks_num);
|
||||||
assert(0);
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
render->p_future_surface = NULL;
|
render->p_future_surface = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user