diff options
-rw-r--r-- | stream/dvb_tune.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/dvb_tune.c b/stream/dvb_tune.c index 5ea3068a6f..0d967489f3 100644 --- a/stream/dvb_tune.c +++ b/stream/dvb_tune.c @@ -591,6 +591,7 @@ static int tune_it(int fd_frontend, int fd_sec, unsigned int freq, unsigned int fd_frontend, fd_sec, (long unsigned int)freq, (long unsigned int)srate, pol, tone, diseqc); + memset(&feparams, 0, sizeof(feparams)); if ( (res = ioctl(fd_frontend,FE_GET_INFO, &fe_info) < 0)) { mp_msg(MSGT_DEMUX, MSGL_FATAL, "FE_GET_INFO FAILED\n"); |