diff options
author | David Conrad <lessen42@gmail.com> | 2010-06-27 05:46:14 +0400 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2010-06-27 05:46:14 +0400 |
commit | 780621b8322e882643a9318b538ae5e91f3e53d0 (patch) | |
tree | 33396118ca2d1769fb6a90b2e0d8ad353afea57a /libavcodec/vorbis_dec.c | |
parent | 92a544267bc88e8008d35b70a086b683daed0e2b (diff) |
vorbisdec: Remove write-only variable
Originally committed as revision 23810 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vorbis_dec.c')
-rw-r--r-- | libavcodec/vorbis_dec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/vorbis_dec.c b/libavcodec/vorbis_dec.c index 8c56400c77..bfe2367aa4 100644 --- a/libavcodec/vorbis_dec.c +++ b/libavcodec/vorbis_dec.c @@ -81,7 +81,6 @@ typedef struct { } t0; struct vorbis_floor1_s { uint_fast8_t partitions; - uint_fast8_t maximum_class; uint_fast8_t partition_class[32]; uint_fast8_t class_dimensions[16]; uint_fast8_t class_subclasses[16]; @@ -496,8 +495,6 @@ static int vorbis_parse_setup_hdr_floors(vorbis_context *vc) AV_DEBUG(" maximum class %d \n", maximum_class); - floor_setup->data.t1.maximum_class = maximum_class; - for (j = 0; j <= maximum_class; ++j) { floor_setup->data.t1.class_dimensions[j] = get_bits(gb, 3) + 1; floor_setup->data.t1.class_subclasses[j] = get_bits(gb, 2); |