[FFmpeg-cvslog] avutil/x86/intmath: add missing check for inline assembly
James Almer
git at videolan.org
Sat Jun 27 19:49:01 CEST 2015
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat Jun 27 13:45:39 2015 -0300| [93e7b7fb346441dd2bafa8caef4df596f1fae1cb] | committer: James Almer
avutil/x86/intmath: add missing check for inline assembly
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=93e7b7fb346441dd2bafa8caef4df596f1fae1cb
---
libavutil/x86/intmath.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
*/
More information about the ffmpeg-cvslog
mailing list