Crash in highlight recovery when using AHD demosaic, fixes #4692

This commit is contained in:
heckflosse 2018-07-25 14:30:04 +02:00
parent 8613d169b9
commit 99fa2942b8

View File

@ -684,7 +684,8 @@ void RawImageSource::ppg_demosaic()
void RawImageSource::border_interpolate(unsigned int border, float (*image)[4], unsigned int start, unsigned int end)
{
unsigned row, col, y, x, f, sum[8];
unsigned row, col, y, x, f;
float sum[8];
unsigned int width = W, height = H;
unsigned int colors = 3;