Mismatch of declaration and definition of computeIntensityVector_ana and computeReferencePower_ana
The input array size in the declarations of functions computeIntensityVector_ana()
and computeReferencePower_ana()
in lib_rend/ivas_prot_rend.h
differ from the one in the definitions in lib_rend/ivas_omasa_ana.c
.
Declaration:
float Cldfb_RealBuffer[DIRAC_MAX_ANA_CHANS][CLDFB_NO_CHANNELS_MAX], /* i : Real part of input signal */
float Cldfb_ImagBuffer[DIRAC_MAX_ANA_CHANS][CLDFB_NO_CHANNELS_MAX], /* i : Imag part of input signal */
Definition:
float Cldfb_RealBuffer[FOA_CHANNELS][CLDFB_NO_CHANNELS_MAX], /* i : Real part of input signal */
float Cldfb_ImagBuffer[FOA_CHANNELS][CLDFB_NO_CHANNELS_MAX], /* i : Imag part of input signal */
The version from the definition is the correct one and the prototype should be aligned with this.
Related issue: #804