]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
wmadec: Remove a stale comment in wma_init().
authorAndre Noll <maan@tuebingen.mpg.de>
Wed, 21 May 2025 19:03:02 +0000 (21:03 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 21 May 2025 19:03:02 +0000 (21:03 +0200)
Noise coding has been removed.

Fixes: 9fe8a674535a00c6011f86b4ece3344200d00aa2
wmadec_filter.c

index 4eabf88e5da83759448f666ce7d55dd10d9e168b..53402f16731db597fcb31466f8d2378dba26e84c 100644 (file)
@@ -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;