Mercurial > libavcodec.hg
diff mpegvideo.c @ 8342:e76576f38ade libavcodec
Switch xvmc over to a CONFIG_ option.
author | diego |
---|---|
date | Mon, 15 Dec 2008 22:22:51 +0000 |
parents | cf4d575b1982 |
children | 9281a8a9387a |
line wrap: on
line diff
--- a/mpegvideo.c Mon Dec 15 22:14:58 2008 +0000 +++ b/mpegvideo.c Mon Dec 15 22:22:51 2008 +0000 @@ -939,7 +939,7 @@ update_noise_reduction(s); } -#ifdef HAVE_XVMC +#ifdef CONFIG_XVMC if(s->avctx->xvmc_acceleration) return XVMC_field_start(s, avctx); #endif @@ -951,7 +951,7 @@ { int i; /* draw edge for correct motion prediction if outside */ -#ifdef HAVE_XVMC +#ifdef CONFIG_XVMC //just to make sure that all data is rendered. if(s->avctx->xvmc_acceleration){ XVMC_field_end(s); @@ -1732,7 +1732,7 @@ { int mb_x, mb_y; const int mb_xy = s->mb_y * s->mb_stride + s->mb_x; -#ifdef HAVE_XVMC +#ifdef CONFIG_XVMC if(s->avctx->xvmc_acceleration){ XVMC_decode_mb(s);//xvmc uses pblocks return;