summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Torri <storri@users.sourceforge.net>2002-10-22 05:09:28 +0000
committerStephen Torri <storri@users.sourceforge.net>2002-10-22 05:09:28 +0000
commitd15147d032e54fd11a190fa0a34e315b091f833b (patch)
treeac4ea5321449663e75e0068dd8f838ce4d60f5f5
parent046266cb17a494abede80a49833607580f25acd7 (diff)
downloadxine-lib-d15147d032e54fd11a190fa0a34e315b091f833b.tar.gz
xine-lib-d15147d032e54fd11a190fa0a34e315b091f833b.tar.bz2
Changed 'asm' calls to '__asm__'. Necessary since we compile with the -ansi flag.
CVS patchset: 2917 CVS date: 2002/10/22 05:09:28
-rw-r--r--src/libffmpeg/libavcodec/common.h4
1 files 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))
);