]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ppc/dsputil_ppc.c
Merge commit 'e3fcb14347466095839c2a3c47ebecff02da891e'
[ffmpeg] / libavcodec / ppc / dsputil_ppc.c
index 48b3b4a6bb3074fa01a8c105e3d690f1a9cd681d..e0db9d484d4ab10ff38f4d57b7e1b60f473dad99 100644 (file)
@@ -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;
-            }
-          }
         }
     }
 }