Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/lib/libdvbv5/dvb-sat.c b/lib/libdvbv5/dvb-sat.c
- index a7aeee52..6c613b17 100644
- --- a/lib/libdvbv5/dvb-sat.c
- +++ b/lib/libdvbv5/dvb-sat.c
- @@ -524,6 +524,8 @@ static int dvbsat_diseqc_set_input(struct dvb_v5_fe_parms_priv *parms,
- int mini_b = 0;
- struct diseqc_cmd cmd;
- + const struct dvb_sat_lnb_priv *lnb = (void *)parms->p.lnb;
- +
- /* Negative numbers means to not use a DiSEqC switch */
- if (parms->p.sat_number < 0)
- return 0;
- @@ -585,6 +587,10 @@ int dvb_sat_real_freq(struct dvb_v5_fe_parms *p, int freq)
- struct dvb_v5_fe_parms_priv *parms = (void *)p;
- int new_freq, i;
- + const struct dvb_sat_lnb_priv *lnb = (void *)p->lnb;
- + if (!lnb)
- + return freq;
- +
- if (!dvb_fe_is_satellite(p->current_sys))
- return freq;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement