[Non-BE] Resolve "MC RS HRFT handle not set to NULL"
- Related issues: #841 (closed)
- Requested reviewers: @fotopoulou
Reason why this change is needed
When decoding to binaural with head rotation for MCT the TD binaural rendere is used, which at opening initializes also a HRTF struct that is shared with the main decoder struct. On a rate switch to another MC mode the HRTF data is deallocated but the handle in the main decoder struct not set to zero, leading to an initialization error on the next switch to MCT.
Description of the change
Set also the handle TD object renderer hrtf handle in the main decoder struct to zero when closing the TD object renderer in the MC reconfiguration function.
Affected operating points
- MC RS decoding with head rotation
- Produced bitstream is BE compared to previous state (no encoder changes)
Related to #841 (closed)