The test at line 130 in interpretdfd.c is using the counter from a previous loop. The counter in the loop this is in is i.
if (KHR_DFDSVAL(BDFDB, sampleCounter, BITLENGTH) > 0)
hasNormalized |= isNormalized;
The fix is s/asampleCounter/i/.
sampleCounter, having been used in a previous loop, always equals the number of samples. Therefore I am surprised this error has not been causing crashes.
The test at line 130 in interpretdfd.c is using the counter from a previous loop. The counter in the loop this is in is
i
.The fix is
s/asampleCounter/i/
.sampleCounter
, having been used in a previous loop, always equals the number of samples. Therefore I am surprised this error has not been causing crashes.