diff ppc/dsputil_ppc.c @ 12414:3fc4c625b6f3 libavcodec

Remove global mm_flags variable
author mru
date Tue, 24 Aug 2010 17:47:05 +0000
parents 3cd4cd0509cd
children a5ddb39627fd
line wrap: on
line diff
--- a/ppc/dsputil_ppc.c	Tue Aug 24 16:52:27 2010 +0000
+++ b/ppc/dsputil_ppc.c	Tue Aug 24 17:47:05 2010 +0000
@@ -23,8 +23,6 @@
 #include "libavcodec/dsputil.h"
 #include "dsputil_altivec.h"
 
-int mm_flags = 0;
-
 int mm_support(void)
 {
     int result = 0;
@@ -182,8 +180,6 @@
     if(CONFIG_H264_DECODER) dsputil_h264_init_ppc(c, avctx);
 
     if (has_altivec()) {
-        mm_flags |= FF_MM_ALTIVEC;
-
         dsputil_init_altivec(c, avctx);
         if(CONFIG_VC1_DECODER)
             vc1dsp_init_altivec(c, avctx);