aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Roth <neolynx@gmail.com>2014-09-13 18:00:36 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-13 18:25:02 -0300
commitb7f9d0ce01a17de4ce8b5bbf3376627c500230f9 (patch)
tree29298253a308ac4d8d715cd9aaa322be06261876
parentc978401b99824ccf3f57a89c02ca8f910c0dd23e (diff)
libdvbv5: fix dvb_fe_dummy()
initialize the parms structure correctly Signed-off-by: André Roth <neolynx@gmail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r--lib/libdvbv5/dvb-fe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libdvbv5/dvb-fe.c b/lib/libdvbv5/dvb-fe.c
index 67456942..f733b270 100644
--- a/lib/libdvbv5/dvb-fe.c
+++ b/lib/libdvbv5/dvb-fe.c
@@ -43,6 +43,9 @@ struct dvb_v5_fe_parms *dvb_fe_dummy()
if (!parms)
return NULL;
parms->p.logfunc = dvb_default_log;
+ parms->fd = -1;
+ parms->p.default_charset = "iso-8859-1";
+ parms->p.output_charset = "utf-8";
return &parms->p;
}

Privacy Policy