[FFmpeg-cvslog] dsputil: remove deprecated dsp_mask usage

Hendrik Leppkes git at videolan.org
Wed Mar 13 16:07:15 CET 2013


ffmpeg | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Wed Mar 13 13:20:43 2013 +0100| [9ae6ba288368be42dbd77613e07255d38bbba40e] | committer: Michael Niedermayer

dsputil: remove deprecated dsp_mask usage

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9ae6ba288368be42dbd77613e07255d38bbba40e
---

 libavcodec/ppc/dsputil_ppc.c |    7 -------
 1 file changed, 7 deletions(-)

diff --git a/libavcodec/ppc/dsputil_ppc.c b/libavcodec/ppc/dsputil_ppc.c
index 4b2bd60..6112b0c 100644
--- a/libavcodec/ppc/dsputil_ppc.c
+++ b/libavcodec/ppc/dsputil_ppc.c
@@ -142,13 +142,6 @@ av_cold void ff_dsputil_init_ppc(DSPContext *c, AVCodecContext *avctx)
     const int high_bit_depth = avctx->bits_per_raw_sample > 8;
     int mm_flags = av_get_cpu_flags();
 
-    if (avctx->dsp_mask) {
-        if (avctx->dsp_mask & AV_CPU_FLAG_FORCE)
-            mm_flags |= (avctx->dsp_mask & 0xffff);
-        else
-            mm_flags &= ~(avctx->dsp_mask & 0xffff);
-    }
-
     // Common optimizations whether AltiVec is available or not
     if (!high_bit_depth) {
     switch (check_dcbzl_effect()) {



More information about the ffmpeg-cvslog mailing list