initialize the parms structure correctly Signed-off-by: André Roth <neolynx@xxxxxxxxx> --- lib/libdvbv5/dvb-fe.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html