ac3dec: use skip_bits_long() for block start bits

Originally committed as revision 16019 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Justin Ruggles 16 years ago
parent 96f229d6c0
commit 3e7aa8fa4c
  1. 2
      libavcodec/eac3dec.c

@ -475,7 +475,7 @@ int ff_eac3_parse_header(AC3DecodeContext *s)
The spec does not say what this data is or what it's used for. The spec does not say what this data is or what it's used for.
It is likely the offset of each block within the frame. */ It is likely the offset of each block within the frame. */
int block_start_bits = (s->num_blocks-1) * (4 + av_log2(s->frame_size-2)); int block_start_bits = (s->num_blocks-1) * (4 + av_log2(s->frame_size-2));
skip_bits(gbc, block_start_bits); skip_bits_long(gbc, block_start_bits);
} }
/* syntax state initialization */ /* syntax state initialization */

Loading…
Cancel
Save