Mercurial > libavcodec.hg
diff mpegvideo.c @ 8832:3eaabd9c4371 libavcodec
Remove redundant CONFIG_XVMC option, CONFIG_MPEG_XVMC_DECODER suffices.
| author | diego |
|---|---|
| date | Sat, 14 Feb 2009 15:37:40 +0000 |
| parents | e9d9d946f213 |
| children | 6ce8ebfc9d86 |
line wrap: on
line diff
--- a/mpegvideo.c Sat Feb 14 15:30:40 2009 +0000 +++ b/mpegvideo.c Sat Feb 14 15:37:40 2009 +0000 @@ -939,7 +939,7 @@ update_noise_reduction(s); } -#if CONFIG_XVMC +#if CONFIG_MPEG_XVMC_DECODER 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 */ -#if CONFIG_XVMC +#if CONFIG_MPEG_XVMC_DECODER //just to make sure that all data is rendered. if(s->avctx->xvmc_acceleration){ XVMC_field_end(s); @@ -1736,7 +1736,7 @@ { int mb_x, mb_y; const int mb_xy = s->mb_y * s->mb_stride + s->mb_x; -#if CONFIG_XVMC +#if CONFIG_MPEG_XVMC_DECODER if(s->avctx->xvmc_acceleration){ XVMC_decode_mb(s);//xvmc uses pblocks return;
