Mercurial > libavcodec.hg
diff dsputil.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 | c7420bfe4da0 |
children | 3141f69e3905 |
line wrap: on
line diff
--- a/dsputil.c Wed Jul 22 21:36:50 2009 +0000 +++ b/dsputil.c Wed Jul 22 22:27:10 2009 +0000 @@ -4363,7 +4363,7 @@ c->idct_add= ff_jref_idct_add; c->idct = j_rev_dct; c->idct_permutation_type= FF_LIBMPEG2_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_c; c->idct_add= ff_vp3_idct_add_c; @@ -4636,7 +4636,7 @@ c->h263_v_loop_filter= h263_v_loop_filter_c; } - if (CONFIG_VP3_DECODER || CONFIG_THEORA_DECODER) { + if (CONFIG_VP3_DECODER) { c->vp3_h_loop_filter= ff_vp3_h_loop_filter_c; c->vp3_v_loop_filter= ff_vp3_v_loop_filter_c; }