summaryrefslogtreecommitdiffstats
path: root/libhb/preset.c
diff options
context:
space:
mode:
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;
}