Mercurial > libavcodec.hg
diff error_resilience.c @ 8342:e76576f38ade libavcodec
Switch xvmc over to a CONFIG_ option.
author | diego |
---|---|
date | Mon, 15 Dec 2008 22:22:51 +0000 |
parents | 8dc81763fb42 |
children | 24c5744c3e96 |
line wrap: on
line diff
--- a/error_resilience.c Mon Dec 15 22:14:58 2008 +0000 +++ b/error_resilience.c Mon Dec 15 22:22:51 2008 +0000 @@ -563,7 +563,7 @@ if(undamaged_count < 5) return 0; //almost all MBs damaged -> use temporal prediction -#ifdef HAVE_XVMC +#ifdef 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 @@ -934,7 +934,7 @@ }else guess_mv(s); -#ifdef HAVE_XVMC +#ifdef CONFIG_XVMC /* the filters below are not XvMC compatible, skip them */ if(s->avctx->xvmc_acceleration) goto ec_clean; #endif @@ -1023,7 +1023,7 @@ v_block_filter(s, s->current_picture.data[2], s->mb_width , s->mb_height , s->uvlinesize, 0); } -#ifdef HAVE_XVMC +#ifdef CONFIG_XVMC ec_clean: #endif /* clean a few tables */