]> git.tue.mpg.de Git - paraslash.git/commitdiff
Change name of private_wmadec_data parameter of wmadec_cleanup().
authorAndre Noll <maan@systemlinux.org>
Sat, 17 Oct 2009 16:04:53 +0000 (18:04 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 18 Nov 2009 18:34:18 +0000 (19:34 +0100)
wmadec_filter.c

index 9b103f9f80aa71b187602a54c46056f5a5d96a0c..a51ca5eac4467e4c4856bc2cfed74c91a07484de 100644 (file)
@@ -152,21 +152,21 @@ static void sine_window_init(float *window, int n)
                window[i] = sinf((i + 0.5) * (M_PI / (2.0 * n)));
 }
 
-static void wmadec_cleanup(struct private_wmadec_data *s)
+static void wmadec_cleanup(struct private_wmadec_data *pwd)
 {
        int i;
 
-       for (i = 0; i < s->nb_block_sizes; i++)
-               imdct_end(s->mdct_ctx[i]);
-       if (s->use_exp_vlc)
-               free_vlc(&s->exp_vlc);
-       if (s->use_noise_coding)
-               free_vlc(&s->hgain_vlc);
+       for (i = 0; i < pwd->nb_block_sizes; i++)
+               imdct_end(pwd->mdct_ctx[i]);
+       if (pwd->use_exp_vlc)
+               free_vlc(&pwd->exp_vlc);
+       if (pwd->use_noise_coding)
+               free_vlc(&pwd->hgain_vlc);
        for (i = 0; i < 2; i++) {
-               free_vlc(&s->coef_vlc[i]);
-               free(s->run_table[i]);
-               free(s->level_table[i]);
-               free(s->int_table[i]);
+               free_vlc(&pwd->coef_vlc[i]);
+               free(pwd->run_table[i]);
+               free(pwd->level_table[i]);
+               free(pwd->int_table[i]);
        }
 }