From 22549e01c3e3a16a6adda2739ff35aa75f53f1a5 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 17 Oct 2009 18:02:38 +0200 Subject: [PATCH] Make wmadec_cleanup() return void. --- wmadec_filter.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wmadec_filter.c b/wmadec_filter.c index 3d8a7280..9b103f9f 100644 --- a/wmadec_filter.c +++ b/wmadec_filter.c @@ -152,7 +152,7 @@ static void sine_window_init(float *window, int n) window[i] = sinf((i + 0.5) * (M_PI / (2.0 * n))); } -static int wmadec_cleanup(struct private_wmadec_data *s) +static void wmadec_cleanup(struct private_wmadec_data *s) { int i; @@ -168,7 +168,6 @@ static int wmadec_cleanup(struct private_wmadec_data *s) free(s->level_table[i]); free(s->int_table[i]); } - return 0; } /* XXX: use same run/length optimization as mpeg decoders */ -- 2.39.5