From d15147d032e54fd11a190fa0a34e315b091f833b Mon Sep 17 00:00:00 2001 From: Stephen Torri Date: Tue, 22 Oct 2002 05:09:28 +0000 Subject: Changed 'asm' calls to '__asm__'. Necessary since we compile with the -ansi flag. CVS patchset: 2917 CVS date: 2002/10/22 05:09:28 --- src/libffmpeg/libavcodec/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libffmpeg/libavcodec/common.h b/src/libffmpeg/libavcodec/common.h index c95e6028b..451c18248 100644 --- a/src/libffmpeg/libavcodec/common.h +++ b/src/libffmpeg/libavcodec/common.h @@ -174,14 +174,14 @@ inline void dprintf(const char* fmt,...) {} #ifdef ARCH_X86 /* avoid +32 for shift optimization (gcc should do that ...) */ static inline int32_t NEG_SSR32( int32_t a, int8_t s){ - asm ("sarl %1, %0\n\t" + __asm__ ("sarl %1, %0\n\t" : "+r" (a) : "ic" ((uint8_t)(-s)) ); return a; } static inline uint32_t NEG_USR32(uint32_t a, int8_t s){ - asm ("shrl %1, %0\n\t" + __asm__ ("shrl %1, %0\n\t" : "+r" (a) : "ic" ((uint8_t)(-s)) ); -- cgit v1.2.3