I am a beginer in MPEG4 ALS area... ..I got your source code in website address
http://www.nue.tu-berlin.de/forschung/proj...ess/mp4als.html
with ver ALS RM22 Reference Software Archive
After that I using some ISO bitstream in website at address
http://standards.iso.org/ittf/PubliclyAvai...ndards/?C=M;O=D
Detail is
ISO_IEC 14496-4_2004_Amd_14_2007_Conformance_Testing/
to test your source and got an error
In function
void CLpacDecoder::DecodeBlockParameter(MCC_DEC_BUFFER *pBuffer, long Channel, long Nb, short ra)
/Source code/
{
short sbits = Res <= 16 ? 8 : 9;
ULONG S[16];
in.ReadBits(&S[0], sbits);
for (i = 1; i < sub; i++)
{
in.ReadRice(&c, 2, 1);
S[i] = S[i-1] + c;
}
you using ULONG S[16] but on the caculation, have case S[i] < 0 (when i tested with bit stream als_09_512ch2k16b.mp4 ( in bitstream ISO , i got at above address)--> Error
Could you tell me how to bug this errorS..
Thank you very much
