From: Michael Niedermayer Date: Mon, 14 Apr 2014 15:29:27 +0000 (+0200) Subject: avcodec/x86/idct_sse2_xvid: fix non C99 inline function X-Git-Tag: n2.3~1720 X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=46d5625f44185271862337d61cd246fd569c42a4 avcodec/x86/idct_sse2_xvid: fix non C99 inline function Found-by: Matt Oliver Signed-off-by: Michael Niedermayer --- diff --git a/libavcodec/x86/idct_sse2_xvid.c b/libavcodec/x86/idct_sse2_xvid.c index e1878fa93d..6dd2cb2168 100644 --- a/libavcodec/x86/idct_sse2_xvid.c +++ b/libavcodec/x86/idct_sse2_xvid.c @@ -343,7 +343,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_idct_xvid_sse2(short *block) +av_extern_inline void ff_idct_xvid_sse2(short *block) { __asm__ volatile( "movq "MANGLE(m127)", %%mm0 \n\t"