mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 08:42:39 +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,
|
||||
"Rendering surface contains %i unprocessed blocks\n",
|
||||
render->filled_mv_blocks_num);
|
||||
assert(0);
|
||||
return -1;
|
||||
}
|
||||
|
||||
render->p_future_surface = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user