X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=wmadec_filter.c;h=0e2f6b8515773ac6c5c8ebb71fed620e7f25692e;hp=4d384e1ddf9c82c2768712f9a50aaf44af5284f9;hb=38a5117b3b132ac87e424689cfa7e4d81dd5b071;hpb=73e718f38aff8c558e8c1a08ec063dbc5b4cb9c6 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);