Mercurial > libavcodec.hg
diff error_resilience.c @ 8590:7a463923ecd1 libavcodec
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.
author | aurel |
---|---|
date | Tue, 13 Jan 2009 23:44:16 +0000 |
parents | 24c5744c3e96 |
children | e9d9d946f213 |
line wrap: on
line diff
--- a/error_resilience.c Tue Jan 13 21:13:45 2009 +0000 +++ b/error_resilience.c Tue Jan 13 23:44:16 2009 +0000 @@ -563,7 +563,7 @@ if(undamaged_count < 5) return 0; //almost all MBs damaged -> use temporal prediction -#ifdef CONFIG_XVMC +#if CONFIG_XVMC //prevent dsp.sad() check, that requires access to the image if(s->avctx->xvmc_acceleration && s->pict_type==FF_I_TYPE) return 1; #endif @@ -935,7 +935,7 @@ }else guess_mv(s); -#ifdef CONFIG_XVMC +#if CONFIG_XVMC /* the filters below are not XvMC compatible, skip them */ if(s->avctx->xvmc_acceleration) goto ec_clean; #endif @@ -1024,7 +1024,7 @@ v_block_filter(s, s->current_picture.data[2], s->mb_width , s->mb_height , s->uvlinesize, 0); } -#ifdef CONFIG_XVMC +#if CONFIG_XVMC ec_clean: #endif /* clean a few tables */