summaryrefslogtreecommitdiffstats
path: root/libhb/preset.c
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-10-12 08:32:00 +0200
committerDamiano Galassi <[email protected]>2015-10-12 08:32:00 +0200
commit1a04b051b3242bdca6000c597c831d40886d67ae (patch)
treeaf58f964a5b67fb2c6d7a04bce161e7226bbecd3 /libhb/preset.c
parent19916cbde483c9fdeac877171c67fdc0c56f2c68 (diff)
Remove invalid presets in presets_do()
Diffstat (limited to 'libhb/preset.c')
-rw-r--r--libhb/preset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/preset.c b/libhb/preset.c
index ff5bdf026..83535d3bc 100644
--- a/libhb/preset.c
+++ b/libhb/preset.c
@@ -247,7 +247,7 @@ static int presets_do(preset_do_f do_func, hb_value_t *preset,
else
{
hb_error("Error: invalid preset format in presets_do()");
- return PRESET_DO_NEXT;
+ return PRESET_DO_DELETE;
}
return PRESET_DO_DONE;
}