Commit f51a1400 authored by Marek Szczerba's avatar Marek Szczerba
Browse files

Fix for uninitialized early reflection flag in acoustic environment structure

parent 5cbd3eb8
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2821,6 +2821,12 @@ ivas_error RenderConfigReader_getAcousticEnvironment(
                    pAcEnv->AbsCoeff[j] = pRenderConfigReader->pAE[n].pEarlyReflections->pAbsCoeff[j];
                }
            }
#ifdef FIX_1053_REVERB_RECONFIGURATION
            else
            {
                pAcEnv->use_er = false;
            }
#endif
            return IVAS_ERR_OK;
        }
    }