From 780621b8322e882643a9318b538ae5e91f3e53d0 Mon Sep 17 00:00:00 2001
From: David Conrad <lessen42@gmail.com>
Date: Sun, 27 Jun 2010 01:46:14 +0000
Subject: [PATCH] vorbisdec: Remove write-only variable

Originally committed as revision 23810 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/vorbis_dec.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/vorbis_dec.c b/libavcodec/vorbis_dec.c
index 8c56400c77e..bfe2367aa4e 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);
-- 
GitLab