# HG changeset patch # User nicodvb # Date 1168109461 0 # Node ID 8353d81de1008c770d69c1b6c69cca983e429228 # Parent 02b934e18af4bb1cbe784e69b20ffa3b2dd68f06 init to 0 feparams before tuning diff -r 02b934e18af4 -r 8353d81de100 stream/dvb_tune.c --- 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");