Commit 301047b3 authored by malenov's avatar malenov
Browse files

add options.h to encoder.c and decoder.c

do not instrument free() when reading HRTF data from external file
parent 8a67bc00
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "options.h"
#include "lib_dec.h"
#include "cmdl_tools.h"
#include "audio_file_writer.h"
+1 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "options.h"
#include "lib_enc.h"
#include "cmdl_tools.h"
#include "audio_file_reader.h"
+4 −0
Original line number Diff line number Diff line
@@ -1203,6 +1203,7 @@ void BSplineModelEvalDealloc(
    /* Allocated in LoadBSplineBinary() */
    int16_t i;

#define WMC_TOOL_SKIP
    if ( !model->modelROM )
    {
        free( model->elevKSeq_dyn );
@@ -1237,6 +1238,7 @@ void BSplineModelEvalDealloc(
        free( modelEval->hrfModL );
        free( modelEval->hrfModR );
    }
#undef WMC_TOOL_SKIP

    return;
}
@@ -1252,11 +1254,13 @@ void BSplineModelEvalITDDealloc(
    ModelParamsITD_t *model /* i  : Model parameters        */
)
{
#define WMC_TOOL_SKIP
    free( model->elevKSeq_dyn );
    free( model->azimKSeq_dyn );
    free( model->W_dyn );
    free( model->azimBsShape_dyn );
    free( model->elevBsShape_dyn );
#undef WMC_TOOL_SKIP

    return;
}