summaryrefslogtreecommitdiff
path: root/libavcodec/eac3dec.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2008-12-06 16:18:10 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2008-12-06 16:18:10 +0000
commit3e7aa8fa4c12e8dc48878f0709f65a21e3b4c523 (patch)
tree7be2261e772a5237e7d1cb85a235ab10d2afb2c8 /libavcodec/eac3dec.c
parent96f229d6c0d442a084ed52fbb04feb2c2a6d0ca8 (diff)
ac3dec: use skip_bits_long() for block start bits
Originally committed as revision 16019 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/eac3dec.c')
-rw-r--r--libavcodec/eac3dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/eac3dec.c b/libavcodec/eac3dec.c
index 0b10b41848..4bcd08b3ad 100644
--- a/libavcodec/eac3dec.c
+++ b/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.
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));
- skip_bits(gbc, block_start_bits);
+ skip_bits_long(gbc, block_start_bits);
}
/* syntax state initialization */