summaryrefslogtreecommitdiffstats
path: root/stream/tvi_dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/tvi_dummy.c')
-rw-r--r--stream/tvi_dummy.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/stream/tvi_dummy.c b/stream/tvi_dummy.c
index 8dcf7f89c1..e3a922fade 100644
--- a/stream/tvi_dummy.c
+++ b/stream/tvi_dummy.c
@@ -8,8 +8,10 @@
#include "libmpcodecs/img_format.h"
#include "tv.h"
+static tvi_handle_t *tvi_init_dummy(char *device,char *adevice);
/* information about this file */
-static tvi_info_t info = {
+tvi_info_t tvi_info_dummy = {
+ tvi_init_dummy,
"NULL-TV",
"dummy",
"alex",
@@ -25,7 +27,7 @@ typedef struct {
#include "tvi_def.h"
/* handler creator - entry point ! */
-tvi_handle_t *tvi_init_dummy(char *device)
+static tvi_handle_t *tvi_init_dummy(char *device,char *adevice)
{
return(new_handle());
}