nikon_load_raw(): minor changes, #4751

This commit is contained in:
heckflosse
2018-08-26 20:46:14 +02:00
parent 4ab4e7298d
commit b189da0b59
2 changed files with 8 additions and 8 deletions

View File

@@ -1291,8 +1291,7 @@ BENCHFUN
diff -= (1 << len) - 1;
if (col < 2) hpred[col] = vpred[row & 1][col] += diff;
else hpred[col & 1] += diff;
if((ushort)(hpred[col & 1]) >= max) derror();
// derror((ushort)(hpred[col & 1]) >= max);
derror((ushort)(hpred[col & 1]) >= max);
RAW(row,col) = curve[LIM((short)hpred[col & 1],0,0x3fff)];
}
}