summaryrefslogtreecommitdiff
path: root/libavutil/internal.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-14 19:07:21 +0100
committerDiego Biurrun <diego@biurrun.de>2013-02-14 19:29:04 +0100
commit4db96649ca700db563d9da4ebe70bf9fc4c7a6ba (patch)
tree0fb16a818c09b2800d24fe546b0b8588b6fae41b /libavutil/internal.h
parent759a3a2177830f102a37099456ded6905adb55ce (diff)
avutil: Ensure that emms_c is always defined, even on non-x86
Diffstat (limited to 'libavutil/internal.h')
-rw-r--r--libavutil/internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h
index 4bb6b05d52..3cf55f6398 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -43,6 +43,10 @@
# include "x86/emms.h"
#endif
+#ifndef emms_c
+# define emms_c()
+#endif
+
#ifndef attribute_align_arg
#if ARCH_X86_32 && AV_GCC_VERSION_AT_LEAST(4,2)
# define attribute_align_arg __attribute__((force_align_arg_pointer))