X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=wmadec_filter.c;h=a17c90adae0fae0acd9c87146a057f197a592a6f;hp=a03463d465d64e06f47f6a6b8fd37e701bbb138b;hb=27f0b75903bbaa29eecb79b94c4d1d3bb9befe47;hpb=46e1e9d5f136fc2314b176fc0033704c32f3d6a7 diff --git a/wmadec_filter.c b/wmadec_filter.c index a03463d4..a17c90ad 100644 --- a/wmadec_filter.c +++ b/wmadec_filter.c @@ -1076,7 +1076,6 @@ static int wma_decode_superframe(struct private_wmadec_data *pwd, void *data, { int ret; int16_t *samples; - static int frame_count; if (buf_size == 0) { pwd->last_superframe_len = 0; @@ -1130,7 +1129,6 @@ static int wma_decode_superframe(struct private_wmadec_data *pwd, void *data, ret = wma_decode_frame(pwd, samples); if (ret < 0) goto fail; - frame_count++; samples += pwd->ahi.channels * pwd->frame_len; } @@ -1147,7 +1145,6 @@ static int wma_decode_superframe(struct private_wmadec_data *pwd, void *data, ret = wma_decode_frame(pwd, samples); if (ret < 0) goto fail; - frame_count++; samples += pwd->ahi.channels * pwd->frame_len; } @@ -1171,12 +1168,10 @@ static int wma_decode_superframe(struct private_wmadec_data *pwd, void *data, ret = wma_decode_frame(pwd, samples); if (ret < 0) goto fail; - frame_count++; samples += pwd->ahi.channels * pwd->frame_len; } - PARA_DEBUG_LOG("frame_count: %d frame_len: %d, block_len: %d, " - "outbytes: %zd, eaten: %d\n", - frame_count, pwd->frame_len, pwd->block_len, + PARA_DEBUG_LOG("frame_len: %d, block_len: %d, outbytes: %zd, eaten: %d\n", + pwd->frame_len, pwd->block_len, (int8_t *) samples - (int8_t *) data, pwd->ahi.block_align); *data_size = (int8_t *)samples - (int8_t *)data; return pwd->ahi.block_align;