summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2015-10-20 10:48:24 -0700
committerJohn Stebbins <[email protected]>2015-10-20 10:48:24 -0700
commitff05f5a22e6cad889a94dab50a98feb29007e607 (patch)
treefaf52e1d78052b4fee59966d3f403387448b1fee /libhb
parent7f50c27989a63e87d2f17c6495d29e136ccfd837 (diff)
libhb: Fix potentially uninitialized variable
Diffstat (limited to 'libhb')
-rw-r--r--libhb/param.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/param.c b/libhb/param.c
index 723943ba8..851c5f300 100644
--- a/libhb/param.c
+++ b/libhb/param.c
@@ -363,6 +363,8 @@ static hb_filter_param_t*
filter_param_get_tunes_internal(int filter_id, int *count)
{
int ii;
+
+ *count = 0;
for (ii = 0; param_map[ii].filter_id != HB_FILTER_INVALID; ii++)
{
if (param_map[ii].filter_id == filter_id)