Browse Source

Return error instead of triggering assert.

Originally committed as revision 17287 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Ivan Kalvachev 17 years ago
parent
commit
013cebfbe8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mpegvideo_xvmc.c

+ 1
- 1
libavcodec/mpegvideo_xvmc.c 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;


Loading…
Cancel
Save