changeset 8272:c15abcb0209a libavcodec

ac3dec: use skip_bits_long() for block start bits
author jbr
date Sat, 06 Dec 2008 16:18:10 +0000
parents 52af55b08c1d
children 55aba5d428f3
files eac3dec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/eac3dec.c	Sat Dec 06 15:46:23 2008 +0000
+++ b/eac3dec.c	Sat Dec 06 16:18:10 2008 +0000
@@ -475,7 +475,7 @@
            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 */