From 04c669ba98955535c00b5283eebafec773d2e83d Mon Sep 17 00:00:00 2001 From: Alexander Strasser Date: Sun, 5 Feb 2006 10:16:20 +0000 Subject: Correct the relation between floors of type 0 and block sizes. Originally committed as revision 4941 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vorbis.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libavcodec/vorbis.h') diff --git a/libavcodec/vorbis.h b/libavcodec/vorbis.h index 8cf0239c1d..c818207d92 100644 --- a/libavcodec/vorbis.h +++ b/libavcodec/vorbis.h @@ -29,8 +29,8 @@ typedef struct { uint_fast8_t order; uint_fast16_t rate; uint_fast16_t bark_map_size; - int_fast32_t * map; - uint_fast32_t map_size; + int_fast32_t * map[2]; + uint_fast32_t map_size[2]; uint_fast8_t amplitude_bits; uint_fast8_t amplitude_offset; uint_fast8_t num_books; @@ -111,6 +111,7 @@ typedef struct vorbis_context_s { vorbis_mapping *mappings; uint_fast8_t mode_count; vorbis_mode *modes; + uint_fast8_t mode_number; // mode number for the current packet float *channel_residues; float *channel_floors; float *saved; -- cgit v1.2.3