Commit 426a7a2a authored by bellard's avatar bellard

use #ifdef


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@694 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent eab00a4c
...@@ -166,7 +166,7 @@ unsigned int get_bits_long(GetBitContext *s, int n) ...@@ -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) |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment