Skip to content
Snippets Groups Projects
Commit 347aa8f7 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

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.
parent 8f144d9e
No related branches found
No related tags found
No related merge requests found
...@@ -342,7 +342,7 @@ DECLARE_ASM_CONST(16, int32_t, walkenIdctRounders)[] = { ...@@ -342,7 +342,7 @@ DECLARE_ASM_CONST(16, int32_t, walkenIdctRounders)[] = {
"movdqa %%xmm6, 4*16("dct") \n\t" \ "movdqa %%xmm6, 4*16("dct") \n\t" \
"movdqa "SREG2", 7*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 ( __asm__ volatile (
"movq "MANGLE (m127) ", %%mm0 \n\t" "movq "MANGLE (m127) ", %%mm0 \n\t"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment