projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbadbf1
)
use #ifdef
author
Fabrice Bellard
<fabrice@bellard.org>
Mon, 17 Jun 2002 08:29:03 +0000
(08:29 +0000)
committer
Fabrice Bellard
<fabrice@bellard.org>
Mon, 17 Jun 2002 08:29:03 +0000
(08:29 +0000)
Originally committed as revision 694 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/common.c
patch
|
blob
|
history
diff --git
a/libavcodec/common.c
b/libavcodec/common.c
index
97788ec
..
571de1a
100644
(file)
--- 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
+#if
def
ARCH_X86
bit_buf = bswap_32(*((unsigned long*)(&buf_ptr[-4])));
#else
bit_buf = (buf_ptr[-4] << 24) |