Takehiro Tominaga wrote:
does the number of frequency lines to be decoded by huffaman have any upper limit? normaly i would expect the upper limit to be 576. but i have seen some code where the upper bound is set according to the last scalefactor band. (i.e. 522 in case of MPEG2 22.05 kHz).

could you please explain this?

The standard does not say anything special about the last scalefactor bands, just that no bit are used to transmit scalefactors. There are other cases, where the standard explicitely specifies zero bits to be used for the scalefactor and in these cases the standard requires a scalefactor of 1.0 So, I guess using an effective scalefactor of zero instead is wrong. If there are huffman decoded samples you must not ignore them.

Martin Ruckert
_______________________________________________
mp3encoder mailing list
[email protected]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to