From 6642bd0ff266229ec9564ffa06040bf7b72e199e Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 21 May 2025 21:03:02 +0200 Subject: [PATCH] wmadec: Remove a stale comment in wma_init(). Noise coding has been removed. Fixes: 9fe8a674535a00c6011f86b4ece3344200d00aa2 --- wmadec_filter.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wmadec_filter.c b/wmadec_filter.c index 4eabf88e..53402f16 100644 --- a/wmadec_filter.c +++ b/wmadec_filter.c @@ -266,10 +266,7 @@ static int wma_init(struct private_wmadec_data *pwd) bps = (float) ahi->bit_rate / (float) (ahi->channels * ahi->sample_rate); pwd->byte_offset_bits = wma_log2((int) (bps * pwd->frame_len / 8.0 + 0.5)) + 2; - /* - * Compute high frequency value and choose if noise coding should be - * activated. - */ + /* Adjust bps and compute high frequency value. */ bps1 = bps; if (ahi->channels == 2) bps1 = bps * 1.6; -- 2.39.5