From 68fb600dcd2579f46937e6cd804831745ae88940 Mon Sep 17 00:00:00 2001 From: Ingo Date: Sat, 15 Mar 2014 13:08:29 +0100 Subject: [PATCH] Removed static declaration from some vars in vng4_demosaic, Issue 2278 --- rtengine/demosaic_algos.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/demosaic_algos.cc b/rtengine/demosaic_algos.cc index cfc3dd3ec..08922adb4 100644 --- a/rtengine/demosaic_algos.cc +++ b/rtengine/demosaic_algos.cc @@ -567,7 +567,7 @@ void RawImageSource::hphd_demosaic () { #define fc(row,col) (prefilters >> ((((row) << 1 & 14) + ((col) & 1)) << 1) & 3) typedef unsigned short ushort; void RawImageSource::vng4_demosaic () { - static const signed short int *cp, terms[] = { + const signed short int *cp, terms[] = { -2,-2,+0,-1,0,0x01, -2,-2,+0,+0,1,0x01, -2,-1,-1,+0,0,0x01, -2,-1,+0,-1,0,0x02, -2,-1,+0,+0,0,0x03, -2,-1,+0,+1,1,0x01, -2,+0,+0,-1,0,0x06, -2,+0,+0,+0,1,0x02, -2,+0,+0,+1,0,0x03,