[FFmpeg-cvslog] x86: Don't declare a non-static function as inline
Martin Storsjö
git at videolan.org
Sun Sep 2 23:25:32 EEST 2018
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Sat Apr 14 13:37:03 2018 +0300| [347aa8f72356124ec6b95bf8ebd1faf72db03f8d] | committer: Martin Storsjö
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.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=347aa8f72356124ec6b95bf8ebd1faf72db03f8d
---
libavcodec/x86/xvididct_sse2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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"
More information about the ffmpeg-cvslog
mailing list