diff options
author | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-05-14 14:28:13 +0000 |
---|---|---|
committer | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-05-14 14:28:13 +0000 |
commit | 9b5dc8674649b38d971419ae8a382fa003729ac4 (patch) | |
tree | 53d5e90009ee9b6306bc926303cfa8432265d4ce /libavcodec/i386 | |
parent | e36d79c837cbf47de524763fc1cbd49655e5f1a6 (diff) | |
download | ffmpeg-9b5dc8674649b38d971419ae8a382fa003729ac4.tar.gz |
Make vp3dsp*.c compilation optional.
Originally committed as revision 9025 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386')
-rw-r--r-- | libavcodec/i386/dsputil_mmx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c index 39f85d365d..9b81b2d610 100644 --- a/libavcodec/i386/dsputil_mmx.c +++ b/libavcodec/i386/dsputil_mmx.c @@ -3279,7 +3279,8 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx) } c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM; #endif - }else if(idct_algo==FF_IDCT_VP3 && + }else if((ENABLE_VP3_DECODER || ENABLE_VP5_DECODER || ENABLE_VP6_DECODER) && + idct_algo==FF_IDCT_VP3 && avctx->codec->id!=CODEC_ID_THEORA && !(avctx->flags & CODEC_FLAG_BITEXACT)){ if(mm_flags & MM_SSE2){ |