Commit 83e70ab8 authored by vaclav's avatar vaclav
Browse files

issue 854: correct the mismatch between definition and declaration of...

issue 854: correct the mismatch between definition and declaration of `ivas_core_dec(); under FIX_854_ARRAY_SIZE_MISMATCH
parent aaaa9234
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -150,6 +150,7 @@
/*#define FIX_I4_OL_PITCH*/                             /* fix open-loop pitch used for EVS core switching */
/*#define SPLIT_REND_WITH_HEAD_ROT*/                    /* Dlb,FhG: Split Rendering contributions 21 and 35 */

#define FIX_854_ARRAY_SIZE_MISMATCH                     /* VA: issue 854: correct the mismatch between definition and declaration of `ivas_core_dec() */


/* #################### End BE switches ################################## */
+10 −6
Original line number Diff line number Diff line
@@ -60,7 +60,11 @@ ivas_error ivas_core_dec(
    CPE_DEC_HANDLE hCPE,      /* i/o: CPE decoder structure              */
    MCT_DEC_HANDLE hMCT,      /* i/o: MCT decoder structure              */
    const int16_t n_channels, /* i  : number of channels to be decoded   */
#ifdef FIX_854_ARRAY_SIZE_MISMATCH
    float *output[CPE_CHANNELS], /* o  : output synthesis signal            */
#else
    float *output[L_FRAME48k], /* o  : output synthesis signal            */
#endif
    float hb_synth[CPE_CHANNELS][L_FRAME48k],    /* o  : output HB synthesis signal         */
    float DFT[CPE_CHANNELS][STEREO_DFT_BUF_MAX], /* o  : DFT buffers                        */
    const int16_t sba_dirac_stereo_flag          /* i  : signal stereo output for SBA DirAC */