summaryrefslogtreecommitdiff
path: root/libavcodec/vorbis.h
diff options
context:
space:
mode:
authorAlexander Strasser <eclipse7@gmx.net>2006-02-05 10:16:20 +0000
committerAlexander Strasser <eclipse7@gmx.net>2006-02-05 10:16:20 +0000
commit04c669ba98955535c00b5283eebafec773d2e83d (patch)
tree00e4ecad16c259a38ffc75e455503499edc5b825 /libavcodec/vorbis.h
parent809b2a30b2c0ace6e9f9d00d6a5437b68eab5deb (diff)
Correct the relation between floors of type 0 and block sizes.
Originally committed as revision 4941 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vorbis.h')
-rw-r--r--libavcodec/vorbis.h5
1 files changed, 3 insertions, 2 deletions
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;