Commit a411b197 authored by emerit's avatar emerit
Browse files

fix missing switch

parent 06ca0cb5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2905,7 +2905,11 @@ ivas_error IVAS_DEC_GetHrtfStatisticsHandle(
#endif
)
{
#ifdef FIX_2249_MEMORY_LEAK_IN_SBA
    if ( hIvasDec == NULL || hIvasDec->st_ivas == NULL || hIvasDec->st_ivas->hHrtfStatistics == NULL || intialisedFromRom == NULL )
#else
    if ( hIvasDec == NULL || hIvasDec->st_ivas == NULL || hIvasDec->st_ivas->hHrtfStatistics == NULL )
#endif
    {
        return IVAS_ERR_WRONG_PARAMS;
    }
+2 −1
Original line number Diff line number Diff line
@@ -462,8 +462,9 @@ ivas_error IVAS_DEC_GetHrtfParamBinHandle(

ivas_error IVAS_DEC_GetHrtfStatisticsHandle(
    IVAS_DEC_HANDLE hIvasDec,                           /* i/o: IVAS decoder handle                                             */
    IVAS_DEC_HRTF_STATISTICS_HANDLE **hHrtfStatistics,  /* o  : HRTF statistics handle    */
    IVAS_DEC_HRTF_STATISTICS_HANDLE **hHrtfStatistics
#ifdef FIX_2249_MEMORY_LEAK_IN_SBA    
,  /* o  : HRTF statistics handle    */
    int16_t *intialisedFromRom                          /* o  : int16_t handle    */
#endif
);