Fix reading of uninitialized memory in format switching
- Related issues: #1525
- Requested reviewers:
Reason why this change is needed
- When decoding a concatenated bitstream (ISM + FOA), we are reading uninitialized memory when the format switches.
Description of the change
- Properly set
bitstreamReadDoneparameter.
Affected operating points
- Describe here as well as possible what operating points are affected and how
- In minimum, there should be a status for bitstream compatibility and output bit exactness
- For bitstream compatibility, the following levels are helpful for describing encoder
- Produced bitstream is BE compared to previous state.
- Produced bitstream is non-BE but it is fully backwards compatible for decoding. Decoded output may differ.
- Produced bitstream is non-BC. Old decoder cannot decode the produced bitstream correctly.
- For output difference, use BE or non-BE. Additionally, amount of difference can be presented.
Related to #1525
Edited by vaclav