Mercurial > libavcodec.hg
diff x86/dsputil_mmx.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 | 6972b493f41f |
children | 3141f69e3905 |
line wrap: on
line diff
--- a/x86/dsputil_mmx.c Wed Jul 22 21:36:50 2009 +0000 +++ b/x86/dsputil_mmx.c Wed Jul 22 22:27:10 2009 +0000 @@ -2655,7 +2655,7 @@ } c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM; #endif - }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){ if(mm_flags & FF_MM_SSE2){ c->idct_put= ff_vp3_idct_put_sse2; @@ -2777,7 +2777,7 @@ c->avg_pixels_tab[0][3] = avg_pixels16_xy2_mmx2; c->avg_pixels_tab[1][3] = avg_pixels8_xy2_mmx2; - if (CONFIG_VP3_DECODER || CONFIG_THEORA_DECODER) { + if (CONFIG_VP3_DECODER) { c->vp3_v_loop_filter= ff_vp3_v_loop_filter_mmx2; c->vp3_h_loop_filter= ff_vp3_h_loop_filter_mmx2; }