diff mbox

libdvbv5: fix dvb_fe_dummy()

Message ID 1410642036-26083-1-git-send-email-neolynx@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

André Roth Sept. 13, 2014, 9 p.m. UTC
initialize the parms structure correctly

Signed-off-by: André Roth <neolynx@gmail.com>
---
 lib/libdvbv5/dvb-fe.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

diff --git a/lib/libdvbv5/dvb-fe.c b/lib/libdvbv5/dvb-fe.c
index 6745694..f733b27 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;
 }