Skip to content

Missing clean-up of ISM and MASA file writers in decodeVoIP

Basic info

  • Commit SHA: main
  • Platform: all

Bug description

When running in VOIP mode and having EXT output, the decoder application does not release the reserved MASA and ISM file writers.

Potential fix is to include the following code snippet at the end of decodeVoIP

    MasaFileWriter_close( &masaWriter );
    for ( int16_t i = 0; i < IVAS_MAX_NUM_OBJECTS; i++ )
    {
        IsmFileWriter_close( &ismWriters[i] );
    }