From 7512e188a4cc0c0926e63167c822f4ac5695ca6c Mon Sep 17 00:00:00 2001 From: nicodvb Date: Sat, 6 Jan 2007 18:51:01 +0000 Subject: init to 0 feparams before tuning git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21842 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/dvb_tune.c | 1 + 1 file changed, 1 insertion(+) (limited to 'stream/dvb_tune.c') 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"); -- cgit v1.2.3