mirror of
https://github.com/mpv-player/mpv
synced 2025-01-24 19:37:30 +01:00
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:
parent
d5bdde3b18
commit
7512e188a4
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user