diff options
author | Martin Storsjö <martin@martin.st> | 2018-04-14 13:37:03 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2018-04-15 23:18:45 +0300 |
commit | 347aa8f72356124ec6b95bf8ebd1faf72db03f8d (patch) | |
tree | d963f15587c41fb16eb5860f7ad96b1de0b340f9 | |
parent | 8f144d9e3d5cb2ca92e5bdf7cc9f72effa1bd2ce (diff) | |
download | ffmpeg-347aa8f72356124ec6b95bf8ebd1faf72db03f8d.tar.gz |
x86: Don't declare a non-static function as inline
This fixes building with clang in msvc mode, which does support
gcc style inline assembly.
-rw-r--r-- | libavcodec/x86/xvididct_sse2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/xvididct_sse2.c b/libavcodec/x86/xvididct_sse2.c index f318e95999..0de59a5514 100644 --- a/libavcodec/x86/xvididct_sse2.c +++ b/libavcodec/x86/xvididct_sse2.c @@ -342,7 +342,7 @@ DECLARE_ASM_CONST(16, int32_t, walkenIdctRounders)[] = { "movdqa %%xmm6, 4*16("dct") \n\t" \ "movdqa "SREG2", 7*16("dct") \n\t" -inline void ff_xvid_idct_sse2(short *block) +void ff_xvid_idct_sse2(short *block) { __asm__ volatile ( "movq "MANGLE (m127) ", %%mm0 \n\t" |