summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudiodec.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-12-31 13:36:48 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2011-12-31 14:19:09 -0500
commit481a7ff5bd44dc63fcdabe34474a921269c97f99 (patch)
tree8f746745d77547a765c826bf263b5e8309a44c02 /libavcodec/mpegaudiodec.c
parentbcc73960657538f601dc90076e30df3cc6032569 (diff)
mpegaudiodec: fix compilation when testing the unchecked bitstream reader
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r--libavcodec/mpegaudiodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index 0c8f9c787b..63ae455199 100644
--- 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));