Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Part 2 length issue (Read 1740 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Part 2 length issue

Hi,

I'm working on a decoder, and I have an issue with part 2 length. ISO 11172-3 says it's: part2_length = 11*slen1+10*slen2 for long blocks. How come this doesn't take into account the bits that are duplicated between granules?

I.e. if we have a long block that has a band that has scfsi[scfsi_band] flag set resulting in data being copied from granule 0 to granule 1, doesn't this affect how many bits are retrieved from the bit stream?

Thanks in advance,
Vouti