diff ppc/dsputil_ppc.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 d563821462b4
children 3141f69e3905
line wrap: on
line diff
--- a/ppc/dsputil_ppc.c	Wed Jul 22 21:36:50 2009 +0000
+++ b/ppc/dsputil_ppc.c	Wed Jul 22 22:27:10 2009 +0000
@@ -287,7 +287,7 @@
                 c->idct_put = idct_put_altivec;
                 c->idct_add = idct_add_altivec;
                 c->idct_permutation_type = FF_TRANSPOSE_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) &&
                      avctx->idct_algo==FF_IDCT_VP3){
                 c->idct_put = ff_vp3_idct_put_altivec;
                 c->idct_add = ff_vp3_idct_add_altivec;