diff --git a/layer3.c b/layer3.c index e635576..30e1eb5 100644 --- a/layer3.c +++ b/layer3.c @@ -948,8 +948,7 @@ static int III_dequantize_sample(struct mpstr *mp, real xr[SBLIMIT][SSLIMIT],int /* * zero part */ - for(i=(&xr[SBLIMIT][0]-xrpnt)>>1;i;i--) { - *xrpnt++ = 0.0; + while (xrpnt <= &xr[SBLIMIT-1][SSLIMIT-1]) { *xrpnt++ = 0.0; }