summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2018-08-08 14:37:58 -0700
committerJohn Stebbins <[email protected]>2018-08-08 14:39:35 -0700
commit7b084a6fafe9a388885de744d8d4c0d422958f06 (patch)
tree39b21b801270b6f608dc52f6376e6e1fdca695e4 /libhb
parentcdd6a93023ecb514ce70aa76cf3856d2cf2c4c4d (diff)
presets: fix setting of default preset values
Fixes root cause of problem reported in: https://github.com/HandBrake/HandBrake/pull/1524
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 6a7f0d122..03a93eb52 100644
--- a/libhb/preset.c
+++ b/libhb/preset.c
@@ -3222,7 +3222,7 @@ int hb_presets_import(const hb_value_t *in, hb_value_t **out)
}
else
{
- *out = hb_value_dup(in);
+ *out = hb_value_dup(dup);
}
hb_value_free(&dup);