diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-07-19 13:12:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-19 13:26:36 +0200 |
commit | 54cba3f53efd80442015a0ba5ba25252e8096290 (patch) | |
tree | d0736f9590db56af9d3a921c72196c9af0569bcc /libswscale/x86 | |
parent | d5ee3580d84a238719588daf0b74feefd07d5742 (diff) | |
download | ffmpeg-54cba3f53efd80442015a0ba5ba25252e8096290.tar.gz |
swscale/x86/hscale_fast_bilinear_simd: add inline asm guards
Should fix MSVC build
Found-by: jamrial
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/x86')
-rw-r--r-- | libswscale/x86/hscale_fast_bilinear_simd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/x86/hscale_fast_bilinear_simd.c b/libswscale/x86/hscale_fast_bilinear_simd.c index 4e547543d3..103793d27a 100644 --- a/libswscale/x86/hscale_fast_bilinear_simd.c +++ b/libswscale/x86/hscale_fast_bilinear_simd.c @@ -25,6 +25,7 @@ #define RET 0xC3 // near return opcode for x86 #define PREFETCH "prefetchnta" +#if HAVE_INLINE_ASM av_cold int ff_init_hscaler_mmxext(int dstW, int xInc, uint8_t *filterCode, int16_t *filter, int32_t *filterPos, int numSplits) @@ -370,3 +371,4 @@ void ff_hcscale_fast_mmxext(SwsContext *c, int16_t *dst1, int16_t *dst2, dst2[i] = src2[srcW-1]*128; } } +#endif //HAVE_INLINE_ASM |