rawtherapee-cli (5.1) crashing with -t option. Fixes #3891
This commit is contained in:
parent
fd29535657
commit
58b3ed7c43
@ -425,7 +425,7 @@ int processLineParams( int argc, char **argv )
|
|||||||
|
|
||||||
case 't':
|
case 't':
|
||||||
outputType = "tif";
|
outputType = "tif";
|
||||||
compression = ((currParam.at(2) != 'z') ? 0 : 1);
|
compression = ((currParam.size() < 3 || currParam.at(2) != 'z') ? 0 : 1);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'n':
|
case 'n':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user