summaryrefslogtreecommitdiffstats
path: root/libmpdemux/tvi_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/tvi_def.h')
-rw-r--r--libmpdemux/tvi_def.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libmpdemux/tvi_def.h b/libmpdemux/tvi_def.h
index 9684127aca..6086049fc7 100644
--- a/libmpdemux/tvi_def.h
+++ b/libmpdemux/tvi_def.h
@@ -1,4 +1,6 @@
-static int init(priv_t *priv, tvi_param_t *params);
+#include <stdlib.h> /* malloc */
+
+static int init(priv_t *priv);
static int uninit(priv_t *priv);
static int control(priv_t *priv, int cmd, void *arg);
static int start(priv_t *priv);
@@ -34,7 +36,6 @@ static tvi_handle_t *new_handle()
memset(h->priv, 0, sizeof(priv_t));
h->info = &info;
h->functions = &functions;
- h->params = NULL;
h->seq = 0;
h->chanlist = -1;
h->chanlist_s = NULL;