diff options
-rw-r--r-- | libhb/preset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/preset.c b/libhb/preset.c index d2c632d6d..1f65b46b2 100644 --- a/libhb/preset.c +++ b/libhb/preset.c @@ -2114,7 +2114,7 @@ static void import_pic_0_0_0(hb_value_t *preset) const char *s; char *end; int pic_par = strtol(v, &end, 0); - if (end != NULL) + if (end != v) { switch (pic_par) { |