summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2002-06-17 08:29:03 +0000
committerFabrice Bellard <fabrice@bellard.org>2002-06-17 08:29:03 +0000
commit8fd5fe9429bdda1ff4632e254ff0495f9a1d298f (patch)
tree995f3c7f7273c0b3afb389186d1a7343f54f94ec /libavcodec
parentcbadbf19fc8d4db35788a2de8af51de9f9d57578 (diff)
use #ifdef
Originally committed as revision 694 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/common.c b/libavcodec/common.c
index 97788ec9dc..571de1afcc 100644
--- a/libavcodec/common.c
+++ b/libavcodec/common.c
@@ -166,7 +166,7 @@ unsigned int get_bits_long(GetBitContext *s, int n)
buf_ptr += 4;
/* handle common case: we can read everything */
if (buf_ptr <= s->buf_end) {
-#if ARCH_X86
+#ifdef ARCH_X86
bit_buf = bswap_32(*((unsigned long*)(&buf_ptr[-4])));
#else
bit_buf = (buf_ptr[-4] << 24) |