aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc/mpegvideo_ppc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-03-06 12:06:00 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-03-06 12:06:00 +0000
commit105645219a6bb805773c4da7b47a5f530e718229 (patch)
tree19ee5c6998d9c1353dc72934bea20cab6a8fbabb /libavcodec/ppc/mpegvideo_ppc.c
parent983e3246b7528e6ffc0cc347d54b86e161140fe6 (diff)
downloadffmpeg-105645219a6bb805773c4da7b47a5f530e718229.tar.gz
altivec compilation fixes by (Magnus Damm <damm at opensource dot se>)
Originally committed as revision 1635 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/mpegvideo_ppc.c')
-rw-r--r--libavcodec/ppc/mpegvideo_ppc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/ppc/mpegvideo_ppc.c b/libavcodec/ppc/mpegvideo_ppc.c
index fd50b0710d..2bdf06b36e 100644
--- a/libavcodec/ppc/mpegvideo_ppc.c
+++ b/libavcodec/ppc/mpegvideo_ppc.c
@@ -42,12 +42,12 @@ void MPV_common_init_ppc(MpegEncContext *s)
if ((s->avctx->idct_algo == FF_IDCT_AUTO) ||
(s->avctx->idct_algo == FF_IDCT_ALTIVEC))
{
- s->idct_put = idct_put_altivec;
- s->idct_add = idct_add_altivec;
+ s->dsp.idct_put = idct_put_altivec;
+ s->dsp.idct_add = idct_add_altivec;
#ifndef ALTIVEC_USE_REFERENCE_C_CODE
- s->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM;
+ s->dsp.idct_permutation_type = FF_TRANSPOSE_IDCT_PERM;
#else /* ALTIVEC_USE_REFERENCE_C_CODE */
- s->idct_permutation_type = FF_NO_IDCT_PERM;
+ s->dsp.idct_permutation_type = FF_NO_IDCT_PERM;
#endif /* ALTIVEC_USE_REFERENCE_C_CODE */
}