summaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-06-27 13:45:39 -0300
committerJames Almer <jamrial@gmail.com>2015-06-27 14:33:53 -0300
commit93e7b7fb346441dd2bafa8caef4df596f1fae1cb (patch)
tree3ed0bf79e022090a4710ea3302813be937a0d87f /libavutil
parent6b9fdf7f4f07926557048070cc2af3cfd0e3fe50 (diff)
downloadffmpeg-streaming-93e7b7fb346441dd2bafa8caef4df596f1fae1cb.zip
ffmpeg-streaming-93e7b7fb346441dd2bafa8caef4df596f1fae1cb.tar.gz
avutil/x86/intmath: add missing check for inline assembly
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/x86/intmath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/x86/intmath.h b/libavutil/x86/intmath.h
index 85f15a4..fefad20 100644
--- a/libavutil/x86/intmath.h
+++ b/libavutil/x86/intmath.h
@@ -41,7 +41,7 @@
#if AV_GCC_VERSION_AT_LEAST(5,1)
#define av_mod_uintp2 __builtin_ia32_bzhi_si
-#else
+#elif HAVE_INLINE_ASM
/* GCC releases before 5.1.0 have a broken bzhi builtin, so for those we
* implement it using inline assembly
*/
OpenPOWER on IntegriCloud