Hi All!
there are 2 bugs in psymodel.c.
simple one is this.
in psymodel.c,
int blocktype[2],uselongblock[2],chn;
:
numchn=stereo;
if (highq && (info->mode == MPG_MD_JOINT_STEREO)) numchn=4;
for (chn=0; chn<numchn; chn++) {
:
uselongblock[chn] = (pe[chn] < switch_pe);
Uum, this may be buffer overrun...
we need
if (chn<2)
before setting uselongblock[chn], I think.
and about this, there's more complicated problem.
psymodel.c detemines block_type from the LR threshold,
even when it uses MS threshold. I think this is strange.
does anybody have any idea about it ?
---
[EMAIL PROTECTED] // may the source be with you!
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )