Mercurial > libavcodec.hg
diff arm/dsputil_arm.c @ 9975:d6d7e8d4a04d libavcodec
Do not redundantly check for both CONFIG_THEORA_DECODER and CONFIG_VP3_DECODER.
The Theora decoder depends on the VP3 decoder.
author | diego |
---|---|
date | Wed, 22 Jul 2009 22:27:10 +0000 |
parents | 2c1c28f26a27 |
children | 0905f8eed0a9 |
line wrap: on
line diff
--- a/arm/dsputil_arm.c Wed Jul 22 21:36:50 2009 +0000 +++ b/arm/dsputil_arm.c Wed Jul 22 22:27:10 2009 +0000 @@ -184,7 +184,7 @@ c->idct_add= ff_simple_idct_add_neon; c->idct = ff_simple_idct_neon; c->idct_permutation_type = FF_PARTTRANS_IDCT_PERM; - } else if ((CONFIG_VP3_DECODER || CONFIG_VP5_DECODER || CONFIG_VP6_DECODER || CONFIG_THEORA_DECODER) && + } else if ((CONFIG_VP3_DECODER || CONFIG_VP5_DECODER || CONFIG_VP6_DECODER) && idct_algo==FF_IDCT_VP3){ c->idct_put= ff_vp3_idct_put_neon; c->idct_add= ff_vp3_idct_add_neon;