Segfault when processing image in queue for fast export, fixes #4734
This commit is contained in:
@@ -373,6 +373,7 @@ float ImProcFunctions::resizeScale (const ProcParams* params, int fw, int fh, in
|
||||
} else {
|
||||
dScale = (double)params->resize.height / (double)refh;
|
||||
}
|
||||
dScale = (dScale > 1.0 && !params->resize.allowUpscaling) ? 1.0 : dScale;
|
||||
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user