> From: "Robert Hegemann" <[EMAIL PROTECTED]>
>

> lame -v fatboy.wav
>
>       for (j=192;j>0;j--)
>         {
>   x = istep0 * *xr++;
>           /* *(ix++) = (int)( x  + adj43[(int)x]); */
>   XRPOW_FTOI(x-.5, rx);
>   XRPOW_FTOI(x + QUANTFAC(rx), *(ix++));
>
>   x = istep1 * *xr++;
>           /* *(ix++) = (int)( x  + adj43[(int)x]); */
>   XRPOW_FTOI(x-.5, rx);
>   XRPOW_FTOI(x + QUANTFAC(rx), *(ix++));
>
>   x = istep2 * *xr++;
>   /*          *(ix++) = (int)( x  + adj43[(int)x]); */
>   XRPOW_FTOI(x-.5, rx);
>   XRPOW_FTOI(x + QUANTFAC(rx), *(ix++));

Crashes here for me. rx == 62312, which is way out of bounds according to
quantize-pvt.h

  #define PRECALC_SIZE 8206 /* 8191+15. should never be outside this. see
count_bits() */

Do we need to drop the table-based approach here - the values of *xr seem to
be rather large for short blocks...

-- Mat.




--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to