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

Diego Biurrun diego
Sat Feb 14 22:50:41 CET 2009


On Sat, Feb 14, 2009 at 10:33:13PM +0100, iive wrote:
> 
> Log:
> Give nice message for failed assert.
> 
> --- trunk/libavcodec/mpegvideo_xvmc.c	Sat Feb 14 22:00:26 2009	(r17282)
> +++ trunk/libavcodec/mpegvideo_xvmc.c	Sat Feb 14 22:33:13 2009	(r17283)
> @@ -76,7 +76,12 @@ int ff_xvmc_field_start(MpegEncContext*s
>  
> -    assert(render->filled_mv_blocks_num == 0);
> +    if(render->filled_mv_blocks_num){

K&R style please, i.e. 'if (...) {', now that the file is consistent we
should keep it that way...

Diego




More information about the ffmpeg-cvslog mailing list