mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 05:38:22 +01:00
fix -strong option
was checking the presence of a useless second argument Change-Id: I2c524a79fc7317cb8b6146c10265ee9462cd1958
This commit is contained in:
parent
d0a7038792
commit
842c009b38
@ -698,7 +698,7 @@ int main(int argc, const char *argv[]) {
|
||||
config.filter_strength = strtol(argv[++c], NULL, 0);
|
||||
} else if (!strcmp(argv[c], "-af")) {
|
||||
config.autofilter = 1;
|
||||
} else if (!strcmp(argv[c], "-strong") && c < argc - 1) {
|
||||
} else if (!strcmp(argv[c], "-strong")) {
|
||||
config.filter_type = 1;
|
||||
} else if (!strcmp(argv[c], "-sharpness") && c < argc - 1) {
|
||||
config.filter_sharpness = strtol(argv[++c], NULL, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user