X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fppc%2Fdsputil_ppc.c;h=e0db9d484d4ab10ff38f4d57b7e1b60f473dad99;hb=581b5f0b9b93969712e73e0ae6324bbd03e85d4e;hp=48b3b4a6bb3074fa01a8c105e3d690f1a9cd681d;hpb=909f53f2b285bc7dbe77d4690a03f3d114417297;p=ffmpeg diff --git a/libavcodec/ppc/dsputil_ppc.c b/libavcodec/ppc/dsputil_ppc.c index 48b3b4a6bb3..e0db9d484d4 100644 --- a/libavcodec/ppc/dsputil_ppc.c +++ b/libavcodec/ppc/dsputil_ppc.c @@ -43,15 +43,6 @@ av_cold void ff_dsputil_init_ppc(DSPContext *c, AVCodecContext *avctx, c->fdct = ff_fdct_altivec; } #endif //CONFIG_ENCODERS - if (avctx->lowres == 0) { - if ((avctx->idct_algo == FF_IDCT_AUTO) || - (avctx->idct_algo == FF_IDCT_ALTIVEC)) { - c->idct = ff_idct_altivec; - c->idct_put = ff_idct_put_altivec; - c->idct_add = ff_idct_add_altivec; - c->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM; - } - } } } }