Fix gcc12 compiling issue (ALF part in MR240)

This MR provides both lossy and lossless fix related to the ALF discussion in MR240. Class D is checked and RD is exactly the same as anchor (ECM-6.0). @XiangLi , Could you please check it based on MR240?

Edited by Nan Hu

Merge request reports

Loading