confirm prefs update, fix bg_pixmap sz, plugin layout tweaks
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / dcraw.C
index 12e36160e3f0bccd55ae405ee0dfbfa35d225e6f..b9ec466076909b8a68384e6bc37ab317792bfeb6 100644 (file)
@@ -1225,7 +1225,7 @@ void CLASS nikon_yuv_load_raw()
 {
   int row, col, yuv[4], rgb[3], b, c;
   UINT64 bitbuf=0;
-
+  memset(yuv,0,sizeof(yuv));
   for (row=0; row < raw_height; row++)
     for (col=0; col < raw_width; col++) {
       if (!(b = col & 1)) {
@@ -4106,7 +4106,7 @@ void CLASS hat_transform (float *temp, float *base, int st, int size, int sc)
 void CLASS wavelet_denoise()
 {
   float *fimg=0, *temp, thold, mul[2], avg, diff;
-  int scale=1, size, lev, hpass, lpass, row, col, nc, c, i, wlast, blk[2];
+  int scale=1, size, lev, hpass, lpass=0, row, col, nc, c, i, wlast, blk[2];
   ushort *window[4];
   static const float noise[] =
   { 0.8002,0.2735,0.1202,0.0585,0.0291,0.0152,0.0080,0.0044 };