Commit 59a3eba6 authored by vaclav's avatar vaclav
Browse files

fix instrumented build

parent 578ed6f3
Loading
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -792,7 +792,9 @@ static ivas_error ivas_binaural_hrtf_open(
{
    int16_t i, j;
    ivas_error error;

#ifdef FIX_1226_FASTCONV_HRTF_LOADING_OPTIM_SIMPLIFY
    int16_t n_channels;
#endif

    if ( hHrtfFastConv != NULL && *hHrtfFastConv != NULL )
    {
@@ -860,8 +862,7 @@ static ivas_error ivas_binaural_hrtf_open(
        HrtfFastConv->allocate_init_flag = 1;

#ifdef FIX_1226_FASTCONV_HRTF_LOADING_OPTIM_SIMPLIFY
        int16_t n_channels = 0;

        n_channels = 0;
        if ( ( renderer_type == RENDERER_BINAURAL_FASTCONV || renderer_type == RENDERER_BINAURAL_FASTCONV_ROOM ) && input_config != IVAS_AUDIO_CONFIG_INVALID )
        {
            n_channels = HRTF_LS_CHANNELS;