Skip to main content

Topic: Part 2 length issue (Read 1295 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • Vouti
  • [*]
Part 2 length issue

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,