aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vorbis.h
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2006-08-10 21:57:30 +0000
committerLoren Merritt <lorenm@u.washington.edu>2006-08-10 21:57:30 +0000
commit0e0adae0ba7915d1de7aad20b27752472fe03a2c (patch)
treed66f6b0c371e47f403edd69c76c2b5518e689551 /libavcodec/vorbis.h
parent88db1a15c54a69407e791636cfea1d02bed52152 (diff)
downloadffmpeg-0e0adae0ba7915d1de7aad20b27752472fe03a2c.tar.gz
vorbis cosmetics: mdct0,mdct1 => mdct[2]
Originally committed as revision 5978 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vorbis.h')
-rw-r--r--libavcodec/vorbis.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/libavcodec/vorbis.h b/libavcodec/vorbis.h
index de150f9940..927312ded4 100644
--- a/libavcodec/vorbis.h
+++ b/libavcodec/vorbis.h
@@ -89,8 +89,7 @@ typedef struct vorbis_context_s {
GetBitContext gb;
DSPContext dsp;
- MDCTContext mdct0;
- MDCTContext mdct1;
+ MDCTContext mdct[2];
uint_fast8_t first_frame;
uint_fast32_t version;
uint_fast8_t audio_channels;
@@ -98,10 +97,8 @@ typedef struct vorbis_context_s {
uint_fast32_t bitrate_maximum;
uint_fast32_t bitrate_nominal;
uint_fast32_t bitrate_minimum;
- uint_fast32_t blocksize_0;
- uint_fast32_t blocksize_1;
- const float * swin;
- const float * lwin;
+ uint_fast32_t blocksize[2];
+ const float * win[2];
uint_fast16_t codebook_count;
vorbis_codebook *codebooks;
uint_fast8_t floor_count;