diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-01-06 18:51:01 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-01-06 18:51:01 +0000 |
commit | 7512e188a4cc0c0926e63167c822f4ac5695ca6c (patch) | |
tree | 083ba8746c04e9be46e0032fff5fa5364c9c465c /stream | |
parent | d5bdde3b1886a41d2530758b0cafadb66eb66f3e (diff) | |
download | mpv-7512e188a4cc0c0926e63167c822f4ac5695ca6c.tar.bz2 mpv-7512e188a4cc0c0926e63167c822f4ac5695ca6c.tar.xz |
init to 0 feparams before tuning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21842 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-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"); |