summaryrefslogtreecommitdiff
path: root/v4l_experimental/pvrusb2/pvrusb2-tuner.c
diff options
context:
space:
mode:
Diffstat (limited to 'v4l_experimental/pvrusb2/pvrusb2-tuner.c')
-rw-r--r--v4l_experimental/pvrusb2/pvrusb2-tuner.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/v4l_experimental/pvrusb2/pvrusb2-tuner.c b/v4l_experimental/pvrusb2/pvrusb2-tuner.c
index fcde1436a..ff94c1da2 100644
--- a/v4l_experimental/pvrusb2/pvrusb2-tuner.c
+++ b/v4l_experimental/pvrusb2/pvrusb2-tuner.c
@@ -1,6 +1,6 @@
/*
*
- * $Id: pvrusb2-tuner.c,v 1.4 2005/12/02 13:59:00 mcisely Exp $
+ * $Id: pvrusb2-tuner.c,v 1.5 2005/12/02 14:03:10 mcisely Exp $
*
* Copyright (C) 2005 Mike Isely <isely@pobox.com>
* Copyright (C) 2004 Aurelien Alleaume <slts@free.fr>
@@ -64,6 +64,7 @@ int pvr2_tuner_set_freq(struct pvr2_hdw *hdw)
{
int stat;
struct v4l2_frequency freq;
+ memset(&freq,0,sizeof(freq));
freq.frequency = hdw->controls[PVR2_CID_FREQUENCY].value / 62500;
freq.tuner = 0;
freq.type = V4L2_TUNER_ANALOG_TV;