Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-08-29 20:55:55 +0400
committerMåns Rullgård <mans@mansr.com>2009-08-29 20:55:55 +0400
commite78516c6d8c0b5ca42d2eabc5c2e10e38523930c (patch)
tree59a4679209b9dbda4f11ed977ca96ee477b6a423 /libavcodec/dsputil.h
parent4e36a5b46f889f398efb01d5773e9a511908d139 (diff)
One declaration of mm_flags is enough
Originally committed as revision 19740 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r--libavcodec/dsputil.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index d029689c87..104953f81e 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -598,6 +598,7 @@ 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);
@@ -616,8 +617,6 @@ void dsputil_init_vis(DSPContext* c, AVCodecContext *avctx);
#undef emms_c
-extern int mm_flags;
-
static inline void emms(void)
{
__asm__ volatile ("emms;":::"memory");
@@ -632,16 +631,12 @@ static inline void emms(void)
#elif ARCH_ARM
-extern int mm_flags;
-
#if HAVE_NEON
# define STRIDE_ALIGN 16
#endif
#elif ARCH_PPC
-extern int mm_flags;
-
#define STRIDE_ALIGN 16
#elif HAVE_MMI