summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-06-03 05:59:06 +0000
committerritsuka <[email protected]>2015-06-03 05:59:06 +0000
commit50d3eaba0961380b425712daec583b19d21764b7 (patch)
treed287d6204eab5731fafba4ed00884ade13e020e6 /libhb
parent308c0731b3f7fba12767c33e2b771380c6a4d329 (diff)
Initialize the copy_mask variable before using it
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7266 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/preset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/preset.c b/libhb/preset.c
index 7f43b4570..91f63b7ce 100644
--- a/libhb/preset.c
+++ b/libhb/preset.c
@@ -307,7 +307,7 @@ static int get_job_mux(hb_dict_t *job_dict)
static hb_value_t* get_audio_copy_mask(const hb_dict_t * preset, int *mask)
{
- int copy_mask;
+ int copy_mask = 0;
hb_value_array_t *out_copy_mask, *in_copy_mask;
if (mask != NULL)