Browse Source

mpegaudiodec: fix compilation when testing the unchecked bitstream reader

tags/n0.10
Justin Ruggles 13 years ago
parent
commit
481a7ff5bd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mpegaudiodec.c

+ 1
- 1
libavcodec/mpegaudiodec.c View File

@@ -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));


Loading…
Cancel
Save