diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-07-22 21:14:20 +0000 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2012-07-25 14:24:27 -0400 |
commit | 79195ce56500a137c7d3152d83dc27d848086405 (patch) | |
tree | 87cceda8786ebb9cb9dfc269067d84c20b2c2741 /libavcodec/x86/h264_qpel_mmx.c | |
parent | 845e92fd6abf749a960354becdc5a9bc498f1f96 (diff) | |
download | ffmpeg-79195ce56500a137c7d3152d83dc27d848086405.tar.gz |
x86/dsputil: put inline asm under HAVE_INLINE_ASM.
This allows compiling with compilers that don't support gcc-style
inline assembly.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/x86/h264_qpel_mmx.c')
-rw-r--r-- | libavcodec/x86/h264_qpel_mmx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/x86/h264_qpel_mmx.c b/libavcodec/x86/h264_qpel_mmx.c index 85ae07e9f4..fc1635de8b 100644 --- a/libavcodec/x86/h264_qpel_mmx.c +++ b/libavcodec/x86/h264_qpel_mmx.c @@ -21,6 +21,8 @@ #include "dsputil_mmx.h" +#if HAVE_INLINE_ASM + /***********************************/ /* motion compensation */ @@ -1191,7 +1193,7 @@ H264_MC_816(H264_MC_H, ssse3) H264_MC_816(H264_MC_HV, ssse3) #endif - +#endif /* HAVE_INLINE_ASM */ //10bit #define LUMA_MC_OP(OP, NUM, DEPTH, TYPE, OPT) \ |