summaryrefslogtreecommitdiff
path: root/libavcodec/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/common.c')
-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) |