remove v4l/lml/buz, add symbolic folders, more xlat update, yuyv fixes, v4l2 upgrades
[goodguy/history.git] / cinelerra-5.1 / cinelerra / dcraw.c
index 9543ae84f31162d1167c99bbeaad9c0c5672a9d6..89632b686b55a2464adf91a54123e4d44791050e 100644 (file)
@@ -968,12 +968,13 @@ void CLASS canon_sraw_load_raw()
   ip = (short (*)[4]) image;
   rp = ip[0];
   for (row=0; row < height; row++, ip+=width) {
-    if (row & (jh.sraw >> 1))
+    if (row & (jh.sraw >> 1)) {
       for (col=0; col < width; col+=2)
        for (c=1; c < 3; c++)
          if (row == height-1)
               ip[col][c] =  ip[col-width][c];
          else ip[col][c] = (ip[col-width][c] + ip[col+width][c] + 1) >> 1;
+    }
     for (col=1; col < width; col+=2)
       for (c=1; c < 3; c++)
        if (col == width-1)