Mercurial > libavcodec.hg
changeset 1276:d5719a953ee0 libavcodec
* compile fixes by Mitch at Bits.COM
author | kabi |
---|---|
date | Tue, 20 May 2003 17:36:49 +0000 |
parents | 61317ffc64d5 |
children | f3152eb76f1a |
files | mlib/dsputil_mlib.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mlib/dsputil_mlib.c Tue May 20 01:03:40 2003 +0000 +++ b/mlib/dsputil_mlib.c Tue May 20 17:36:49 2003 +0000 @@ -226,7 +226,7 @@ mlib_VideoDCT8x8_S16_S16 (data, data); } -void dsputil_init_mlib(DSPContext* c, unsigned mask) +void dsputil_init_mlib(DSPContext* c, AVCodecContext *avctx) { c->put_pixels_tab[0][0] = put_pixels16_mlib; c->put_pixels_tab[0][1] = put_pixels16_x2_mlib; @@ -258,12 +258,12 @@ int i; if(s->avctx->dct_algo==FF_DCT_AUTO || s->avctx->dct_algo==FF_DCT_MLIB){ - s->fdct = ff_fdct_mlib; + s->dsp.fdct = ff_fdct_mlib; } if(s->avctx->idct_algo==FF_IDCT_AUTO || s->avctx->idct_algo==FF_IDCT_MLIB){ - s->idct_put= ff_idct_put_mlib; - s->idct_add= ff_idct_add_mlib; - s->idct_permutation_type= FF_NO_IDCT_PERM; + s->dsp.idct_put= ff_idct_put_mlib; + s->dsp.idct_add= ff_idct_add_mlib; + s->dsp.idct_permutation_type= FF_NO_IDCT_PERM; } }