Solving issue #4000 on behalf of heckflosse

This commit is contained in:
Hombre57 2017-08-07 21:05:00 +02:00
parent 3518c6ad7a
commit b183a0b3c7

View File

@ -112,7 +112,7 @@ void RawImage::get_colorsCoeff( float *pre_mul_, float *scale_mul_, float *cblac
} }
} }
if ( this->get_cam_mul(0) == -1 || forceAutoWB) { if (data && (this->get_cam_mul(0) == -1 || forceAutoWB)) {
memset(dsum, 0, sizeof dsum); memset(dsum, 0, sizeof dsum);
if (this->isBayer()) { if (this->isBayer()) {