changeset 21824:8353d81de100

init to 0 feparams before tuning
author nicodvb
date Sat, 06 Jan 2007 18:51:01 +0000
parents 02b934e18af4
children abc080b3f63a
files stream/dvb_tune.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/dvb_tune.c	Sat Jan 06 17:50:12 2007 +0000
+++ b/stream/dvb_tune.c	Sat Jan 06 18:51:01 2007 +0000
@@ -591,6 +591,7 @@
 	    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");