Commit 87740adb authored by vaclav's avatar vaclav
Browse files

fix

parent ee26668b
Loading
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -8437,6 +8437,9 @@ static ivas_error ivas_masa_ext_rend_parambin_init(
    int32_t output_Fs;
    RENDERER_TYPE renderer_type;
    int16_t j, k, bin;
#ifdef FIX_1135_EXT_RENDERER_HANDLES
    int16_t num_poses;
#endif
    float binCenterFreq, tmpFloat;
    ivas_error error;
    float frequency_axis[CLDFB_NO_CHANNELS_MAX];
@@ -8451,7 +8454,17 @@ static ivas_error ivas_masa_ext_rend_parambin_init(
    nBins = inputMasa->hMasaExtRend->hSpatParamRendCom->num_freq_bands;
    renderer_type = inputMasa->hMasaExtRend->renderer_type;

#ifdef FIX_1135_EXT_RENDERER_HANDLES
    num_poses = 1;
    if ( inputMasa->base.ctx.pSplitRendWrapper != NULL )
    {
        num_poses = inputMasa->base.ctx.pSplitRendWrapper->multiBinPoseData.num_poses;
    }

    for ( pos_idx = 0; pos_idx < num_poses; pos_idx++ )
#else
    for ( pos_idx = 0; pos_idx < inputMasa->base.ctx.pSplitRendWrapper->multiBinPoseData.num_poses; pos_idx++ )
#endif
    {
        hDiracDecBin = inputMasa->hMasaExtRend->hDiracDecBin[pos_idx];