Commit df85da53 authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

fix compiler warning

parent 1cf189c7
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -114,10 +114,10 @@
/*#define TDREND_HRTF_TABLE_METHODS*/           /* Enable HRTF lookup from tables, for testing & evaluation. Supply file in table format to use. Note that a suitable HR filter lookup method should be written if the filters sample point grids are not in the formats. */
/*#define TDREND_STANDALONE*/                   /* Used when renderer is built in standalone form, without IVAS encoding/decoding (see scripts/object_renderer_standalone). This is just here to ensure this is cleaned out by prepare_instrumentation.sh */

/*#define DEBUG_SBA*/                           /* debug DIRAC/SPAR in-out */
#define DEBUG_SBA                           /* debug DIRAC/SPAR in-out */
#ifdef DEBUG_SBA
/*#define DEBUG_SBA_AUDIO_DUMP*/                /* SBA intermediate audio wav file dumping */
/*#define DEBUG_SBA_MD_DUMP*/                   /* SBA metadata and variable file dumping */
#define DEBUG_SBA_MD_DUMP                   /* SBA metadata and variable file dumping */
/*#define DEBUG_SPAR_MD_TARGET_TUNING*/         /* SPAR MD target bitrate tuning debug code */
/*#define DEBUG_SPAR_BYPASS_EVS_CODEC*/         /* bypass EVS coding in float precision, emulating EVS encoder/decoder delay */
/*#define DEBUG_SPAR_WRITE_OUT_COV*/            /* write covariance per frame into a text file for verification */
+2 −0
Original line number Diff line number Diff line
@@ -1033,6 +1033,8 @@ ivas_error ivas_spar_md_enc_process(
        byte_size = sizeof( float );
        for ( b = 0; b < nB; b++ )
        {
            ndm = hMdEnc->spar_md_cfg.num_dmx_chans_per_band[b * bands_bw];

            sprintf( f_name, "spar_band_pred_coeffs.bin" );
            ( b == 0 && frame == 0 ) ? dbgwrite( &nB, sizeof( nB ), 1, 1, f_name ) : false;
            num_elements = num_ch - 1;