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:
bcc7396
)
mpegaudiodec: fix compilation when testing the unchecked bitstream reader
author
Justin Ruggles
<justin.ruggles@gmail.com>
Sat, 31 Dec 2011 18:36:48 +0000
(13:36 -0500)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Sat, 31 Dec 2011 19:19:09 +0000
(14:19 -0500)
libavcodec/mpegaudiodec.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegaudiodec.c
b/libavcodec/mpegaudiodec.c
index
0c8f9c7
..
63ae455
100644
(file)
--- a/
libavcodec/mpegaudiodec.c
+++ b/
libavcodec/mpegaudiodec.c
@@
-1548,7
+1548,7
@@
static int mp_decode_layer3(MPADecodeContext *s)
memcpy(s->last_buf + s->last_buf_size, ptr, EXTRABYTES);
s->in_gb = s->gb;
init_get_bits(&s->gb, s->last_buf, s->last_buf_size*8);
-#if
CONFIG_SAFE
_BITSTREAM_READER
+#if
!UNCHECKED
_BITSTREAM_READER
s->gb.size_in_bits_plus8 += EXTRABYTES * 8;
#endif
skip_bits_long(&s->gb, 8*(s->last_buf_size - main_data_begin));