From 38a5117b3b132ac87e424689cfa7e4d81dd5b071 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 14 Oct 2009 21:28:47 +0200 Subject: [PATCH] remove unused block_num field of struct private_wmadec_data. --- wmadec_filter.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/wmadec_filter.c b/wmadec_filter.c index 4d384e1d..0e2f6b85 100644 --- a/wmadec_filter.c +++ b/wmadec_filter.c @@ -96,7 +96,6 @@ struct private_wmadec_data { int next_block_len_bits; ///< log2 of next block length int prev_block_len_bits; ///< log2 of prev block length int block_len; ///< block length in samples - int block_num; ///< block number in current frame int block_pos; ///< current position in frame uint8_t ms_stereo; ///< true if mid/side stereo mode uint8_t channel_coded[MAX_CHANNELS]; ///< true if channel is coded @@ -1098,7 +1097,6 @@ next: } /* update block number */ - s->block_num++; s->block_pos += s->block_len; if (s->block_pos >= s->frame_len) return 1; @@ -1129,7 +1127,6 @@ static int wma_decode_frame(struct private_wmadec_data *s, int16_t * samples) float *iptr; /* read each block */ - s->block_num = 0; s->block_pos = 0; for (;;) { ret = wma_decode_block(s); -- 2.39.5