use #ifdef

Originally committed as revision 694 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Fabrice Bellard 2002-06-17 08:29:03 +00:00
parent cbadbf19fc
commit 8fd5fe9429
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ unsigned int get_bits_long(GetBitContext *s, int n)
buf_ptr += 4; buf_ptr += 4;
/* handle common case: we can read everything */ /* handle common case: we can read everything */
if (buf_ptr <= s->buf_end) { if (buf_ptr <= s->buf_end) {
#if ARCH_X86 #ifdef ARCH_X86
bit_buf = bswap_32(*((unsigned long*)(&buf_ptr[-4]))); bit_buf = bswap_32(*((unsigned long*)(&buf_ptr[-4])));
#else #else
bit_buf = (buf_ptr[-4] << 24) | bit_buf = (buf_ptr[-4] << 24) |