Indexing bug in MASA/McMASA function reduce_metadata_further
Basic info
- Commit SHA: main
- Platform: all
Bug description
In one of the paths of function reduce_metadata_further
, there is an indexing bug where same variable is used in an inner loop and outer loop. This causes the outer loop to perform wrong. The duplicated loop is
for ( band = 0; band < numCodingBands; band++ )
Ways to reproduce
The inner loop only activates when there is coherence transmission enabled which depends on bitrate and IVAS format. In practice, this happens only with McMASA on bitrates 16.4 and 24.4 kbps.