projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
filter: Remove allocation of filter buffers.
[paraslash.git]
/
wmadec_filter.c
diff --git
a/wmadec_filter.c
b/wmadec_filter.c
index 0ec5878c3a836d389ebac7a7188bcdb809ddcc25..1233996284f231d9855e7c14954fb77d317816f9 100644
(file)
--- a/
wmadec_filter.c
+++ b/
wmadec_filter.c
@@
-1199,8
+1199,6
@@
static void wmadec_close(struct filter_node *fn)
if (!pwd)
return;
wmadec_cleanup(pwd);
if (!pwd)
return;
wmadec_cleanup(pwd);
- free(fn->buf);
- fn->buf = NULL;
free(fn->private_data);
fn->private_data = NULL;
}
free(fn->private_data);
fn->private_data = NULL;
}
@@
-1289,10
+1287,7
@@
err:
static void wmadec_open(struct filter_node *fn)
{
static void wmadec_open(struct filter_node *fn)
{
- fn->bufsize = 1024 * 1024;
- fn->buf = para_malloc(fn->bufsize);
fn->private_data = NULL;
fn->private_data = NULL;
- fn->loaded = 0;
fn->min_iqs = 4096;
}
fn->min_iqs = 4096;
}