comparison wmadec.c @ 5518:d2ef80f5fd7e libavcodec

use skip_bits where appropriate
author alex
date Thu, 09 Aug 2007 00:57:36 +0000
parents 998ed46cfa66
children c2ab2ac31edb
comparison
equal deleted inserted replaced
5517:998ed46cfa66 5518:d2ef80f5fd7e
778 778
779 init_get_bits(&s->gb, buf, buf_size*8); 779 init_get_bits(&s->gb, buf, buf_size*8);
780 780
781 if (s->use_bit_reservoir) { 781 if (s->use_bit_reservoir) {
782 /* read super frame header */ 782 /* read super frame header */
783 get_bits(&s->gb, 4); /* super frame index */ 783 skip_bits(&s->gb, 4); /* super frame index */
784 nb_frames = get_bits(&s->gb, 4) - 1; 784 nb_frames = get_bits(&s->gb, 4) - 1;
785 785
786 bit_offset = get_bits(&s->gb, s->byte_offset_bits + 3); 786 bit_offset = get_bits(&s->gb, s->byte_offset_bits + 3);
787 787
788 if (s->last_superframe_len > 0) { 788 if (s->last_superframe_len > 0) {