summaryrefslogtreecommitdiffstats
path: root/libhb/param.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/param.c')
-rw-r--r--libhb/param.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libhb/param.c b/libhb/param.c
index 90d2debc1..55f9a9b20 100644
--- a/libhb/param.c
+++ b/libhb/param.c
@@ -247,7 +247,7 @@ static hb_dict_t * generate_nlmeans_settings(const char *preset,
if (preset == NULL)
return NULL;
- if (preset == NULL || !strcasecmp(preset, "custom"))
+ if (!strcasecmp(preset, "custom"))
{
return hb_parse_filter_settings(custom);
}
@@ -472,7 +472,7 @@ static hb_dict_t * generate_unsharp_settings(const char *preset,
if (preset == NULL)
return NULL;
- if (preset == NULL || !strcasecmp(preset, "custom"))
+ if (!strcasecmp(preset, "custom"))
{
return hb_parse_filter_settings(custom);
}
@@ -670,7 +670,7 @@ static hb_dict_t * generate_lapsharp_settings(const char *preset,
if (preset == NULL)
return NULL;
- if (preset == NULL || !strcasecmp(preset, "custom"))
+ if (!strcasecmp(preset, "custom"))
{
return hb_parse_filter_settings(custom);
}