diff options
author | Måns Rullgård <mans@mansr.com> | 2010-08-24 17:47:05 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-08-24 17:47:05 +0000 |
commit | c0ec9918b066c6bfca8613ac75b589bd3e405971 (patch) | |
tree | d037260d347ffce71a1ccdbaca81174e190a25d1 /libavcodec/dsputil.h | |
parent | 3611c45ab757d03cf3878af62ca1c19ae8386037 (diff) | |
download | ffmpeg-c0ec9918b066c6bfca8613ac75b589bd3e405971.tar.gz |
Remove global mm_flags variable
Originally committed as revision 24909 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index 9ef0270ade..31eeb7bb10 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -618,7 +618,6 @@ static inline int get_penalty_factor(int lambda, int lambda2, int type){ /* should be defined by architectures supporting one or more MultiMedia extension */ int mm_support(void); -extern int mm_flags; void dsputil_init_alpha(DSPContext* c, AVCodecContext *avctx); void dsputil_init_arm(DSPContext* c, AVCodecContext *avctx); @@ -647,12 +646,7 @@ static inline void emms(void) __asm__ volatile ("emms;":::"memory"); } - -#define emms_c() \ -{\ - if (mm_flags & FF_MM_MMX)\ - emms();\ -} +#define emms_c() emms() #elif ARCH_ARM @@ -670,7 +664,6 @@ static inline void emms(void) #else -#define mm_flags 0 #define mm_support() 0 #endif |