diff options
author | Mans Rullgard <mans@mansr.com> | 2011-07-25 16:18:17 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-07-27 20:14:12 +0100 |
commit | ca6a90465634152c7abe2f10112fd06dc778122f (patch) | |
tree | 156843c060b5428169a65c765408f935648fabe8 /libavcodec | |
parent | c3027b4d2f9d14906387ced6f73008d4fa2c2dfb (diff) | |
download | ffmpeg-ca6a90465634152c7abe2f10112fd06dc778122f.tar.gz |
ppc: remove redundant setting of Altivec IDCT
This is already set by dsputil_init_ppc() and is best done in only
one place.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ppc/mpegvideo_altivec.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/ppc/mpegvideo_altivec.c b/libavcodec/ppc/mpegvideo_altivec.c index 673b11d0c9..2d3bf892a0 100644 --- a/libavcodec/ppc/mpegvideo_altivec.c +++ b/libavcodec/ppc/mpegvideo_altivec.c @@ -558,15 +558,6 @@ void MPV_common_init_altivec(MpegEncContext *s) { if (!(av_get_cpu_flags() & AV_CPU_FLAG_ALTIVEC)) return; - if (s->avctx->lowres==0) { - if ((s->avctx->idct_algo == FF_IDCT_AUTO) || - (s->avctx->idct_algo == FF_IDCT_ALTIVEC)) { - s->dsp.idct_put = idct_put_altivec; - s->dsp.idct_add = idct_add_altivec; - s->dsp.idct_permutation_type = FF_TRANSPOSE_IDCT_PERM; - } - } - // Test to make sure that the dct required alignments are met. if ((((long)(s->q_intra_matrix) & 0x0f) != 0) || (((long)(s->q_inter_matrix) & 0x0f) != 0)) { |