[FFmpeg-devel] [PATCH 1/3] vorbisdec: Remove write-only variable
David Conrad
lessen42
Tue Jun 8 09:08:31 CEST 2010
---
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 8c56400..bfe2367 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);
--
1.7.1
More information about the ffmpeg-devel
mailing list