[FFmpeg-cvslog] r17287 - trunk/libavcodec/mpegvideo_xvmc.c

iive subversion
Sat Feb 14 23:06:01 CET 2009


Author: iive
Date: Sat Feb 14 23:06:00 2009
New Revision: 17287

Log:
Return error instead triggering assert.

Modified:
   trunk/libavcodec/mpegvideo_xvmc.c

Modified: trunk/libavcodec/mpegvideo_xvmc.c
==============================================================================
--- trunk/libavcodec/mpegvideo_xvmc.c	Sat Feb 14 22:52:44 2009	(r17286)
+++ trunk/libavcodec/mpegvideo_xvmc.c	Sat Feb 14 23:06:00 2009	(r17287)
@@ -80,7 +80,7 @@ int ff_xvmc_field_start(MpegEncContext*s
         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;




More information about the ffmpeg-cvslog mailing list