Commit e484cf5c authored by vaclav's avatar vaclav
Browse files

fix location of function returns; under FIX_RETURN

parent 0c81a95c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -169,6 +169,7 @@
#define FIX_1123_TDREN_16BIT_ROM
#define FIX_1123_FASTCONV_16BIT_ROM                     /* FhG: issue 1123: update FastConv ROM tables and scripts to generate 16 bit tables instead of float */
#define FIX_1123_PARAMBIN_16BIT_ROM                     /* FhG,Nok: issue 1123: update ParamBin ROM tables and scripts to generate 16 bit tables instead of float */
#define FIX_RETURN                                      /* VA: fix location of function returns */
#endif

/* #################### End BE switches ################################## */
+7 −2
Original line number Diff line number Diff line
@@ -804,7 +804,7 @@ ivas_error ivas_allocate_binaural_hrtf(


/*-------------------------------------------------------------------------*
 * ivas_binaural_HRTF_open()
 * ivas_binaural_hrtf_open()
 *
 *
 *-------------------------------------------------------------------------*/
@@ -1048,9 +1048,14 @@ static ivas_error ivas_binaural_hrtf_open(
#endif

        *hHrtfFastConv = HrtfFastConv;
    }

#ifdef FIX_RETURN
        return IVAS_ERR_OK;
#endif
    }
#ifndef FIX_RETURN
    return IVAS_ERR_OK;
#endif
}


+6 −1
Original line number Diff line number Diff line
@@ -433,9 +433,14 @@ ivas_error ivas_dirac_dec_binaural_copy_hrtfs(
#endif

        *hHrtfParambin = hrtfParambin;
    }

#ifdef FIX_RETURN
        return IVAS_ERR_OK;
#endif
    }
#ifndef FIX_RETURN
    return IVAS_ERR_OK;
#endif
}