init to 0 feparams before tuning

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21842 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2007-01-06 18:51:01 +00:00
parent d5bdde3b18
commit 7512e188a4
1 changed files with 1 additions and 0 deletions

View File

@ -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");