Segfault when processing image in queue for fast export, fixes #4734

This commit is contained in:
heckflosse
2018-08-15 19:27:37 +02:00
parent d831e6fbf2
commit 584163fbaa

View File

@@ -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;