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/dsputil.c | |
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/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 58f5db60b5..9eecaa84ff 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -3883,7 +3883,8 @@ void dsputil_init(DSPContext* c, AVCodecContext *avctx) c->idct_add= ff_jref_idct_add; c->idct = j_rev_dct; c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM; - }else if(avctx->idct_algo==FF_IDCT_VP3){ + }else if((ENABLE_VP3_DECODER || ENABLE_VP5_DECODER || ENABLE_VP6_DECODER || ENABLE_THEORA_DECODER ) && + avctx->idct_algo==FF_IDCT_VP3){ c->idct_put= ff_vp3_idct_put_c; c->idct_add= ff_vp3_idct_add_c; c->idct = ff_vp3_idct_c; |