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

Fix for assigning number of acoustic environments in the text parser

parent 8ae69e48
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1991,6 +1991,7 @@ ivas_error RenderConfigReader_read(
                                }
#endif
                            }
                            pRenderConfigReader->nAE = nAE;
                        }
                        /* Allocate memory for the acoustic environments array */
                        if ( ( pRenderConfigReader->pAE = (AcousticEnv *) malloc( pRenderConfigReader->nAE * sizeof( AcousticEnv ) ) ) == NULL )