diff options
author | John Stebbins <[email protected]> | 2016-01-02 14:35:21 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-01-02 14:35:21 -0700 |
commit | 7f39ee68e32db16c6b5854f7bd9d0732d5d1b449 (patch) | |
tree | d0331dce322ad89ca11ddb8e4c4e2fad839a9805 /libhb | |
parent | 1e5639512858ffce34d8664de63f7deeb4100720 (diff) |
presets: fix PicturePAR import
... when it is a "number" stored as a string.
Diffstat (limited to 'libhb')
-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) { |