Resolve "Discrete ISM gain calculation not done on the correct number of objects"
requested to merge 983-discrete-ism-gain-calculation-not-done-on-the-correct-number-of-objects into main
- Related issues: #983 (closed)
- Requested reviewers: @vaclav
Reason why this change is needed
The digest function for ISM with discrete objects does the gain calculation with a wrong number of objects for combined formats, since it uses the number of transport channels as number of objects and not the distinct number of objects available in the main decoder struct.
Description of the change
Use the correct number of objects in the gain calculation.
Affected operating points
- Describe here as well as possible what operating points are affected and how
- Produced bitstream is BE compared to previous state (No encoder change).
Related to #983 (closed)
Edited by vaclav