Commit 345bb2ad authored by Marc Hoffman's avatar Marc Hoffman

special handling for vp3 idct, use the c reference

Originally committed as revision 10105 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 07c02992
...@@ -280,9 +280,11 @@ void dsputil_init_bfin( DSPContext* c, AVCodecContext *avctx ) ...@@ -280,9 +280,11 @@ void dsputil_init_bfin( DSPContext* c, AVCodecContext *avctx )
c->idct_permutation_type = FF_NO_IDCT_PERM; c->idct_permutation_type = FF_NO_IDCT_PERM;
c->fdct = ff_bfin_fdct; c->fdct = ff_bfin_fdct;
if (avctx->idct_algo!=FF_IDCT_VP3) {
c->idct = ff_bfin_idct; c->idct = ff_bfin_idct;
c->idct_add = bfin_idct_add; c->idct_add = bfin_idct_add;
c->idct_put = bfin_idct_put; c->idct_put = bfin_idct_put;
}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment