diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-12-15 22:22:51 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-12-15 22:22:51 +0000 |
commit | b24298badc05dddeb87dbe9f12f29842ebec60f3 (patch) | |
tree | 2db8c35574813b200cfec26775e0f7c02c40de4f /libavcodec/mpegvideo.c | |
parent | 6915cf38542828488b1129e6ce6207d5e5699798 (diff) | |
download | ffmpeg-b24298badc05dddeb87dbe9f12f29842ebec60f3.tar.gz |
Switch xvmc over to a CONFIG_ option.
Originally committed as revision 16153 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 9b2f34c13f..c603f66360 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -939,7 +939,7 @@ alloc: 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 @@ void MPV_frame_end(MpegEncContext *s) { 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 @@ void MPV_decode_mb_internal(MpegEncContext *s, DCTELEM block[12][64], { 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; |