Commit c1632b94 authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_506_WARNINGS

parent 157c9a6f
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -101,9 +101,6 @@ int16_t assign_gain_bits(
    int16_t *Rcalc             /* o  : Bit budget for shape quantizer (Q3)     */
)
{
#ifndef FIX_506_WARNINGS
    int16_t subband_cnt;
#endif
    int16_t gain_bits_tot;
    int16_t i;

@@ -118,18 +115,12 @@ int16_t assign_gain_bits(
    }

    /* Re-adjust bit budget for gain quantization */
#ifndef FIX_506_WARNINGS
    subband_cnt = 0;
#endif
    gain_bits_tot = 0;
    *Rcalc = 0;
    for ( i = 0; i < BANDS; i++ )
    {
        if ( Rk[i] > 0 )
        {
#ifndef FIX_506_WARNINGS
            subband_cnt++;
#endif
            Rk[i] -= gain_bits_array[i] * 8;
            gain_bits_tot += gain_bits_array[i];
            *Rcalc += Rk[i];
+0 −6
Original line number Diff line number Diff line
@@ -1228,9 +1228,6 @@ int16_t calc_nor_delta_hf(
    int16_t i;
    int16_t ynrm_t[44], normqlg2_t[44];
    int16_t delta, max_delta, min_delta, bitsforDelta, add_bits_denv;
#ifndef FIX_506_WARNINGS
    int16_t temp_num = 0;
#endif

    max_delta = -100;
    calc_norm( t_audio, ynrm_t, normqlg2_t, 0, nb_sfm, sfmsize, sfm_start );
@@ -1292,9 +1289,6 @@ int16_t calc_nor_delta_hf(
                ynrm[i] += delta;
                add_bits_denv += bitsforDelta;

#ifndef FIX_506_WARNINGS
                temp_num++;
#endif
            }
        }

+0 −1
Original line number Diff line number Diff line
@@ -147,7 +147,6 @@
/*#define FIX_I4_OL_PITCH*/                             /* fix open-loop pitch used for EVS core switching */

#define FIX_196_REFACTOR_RENDERER_OUTPUT_CONFIG         /* Phi: issue 196 - refactoring renderer output configuration */
#define FIX_506_WARNINGS                                /* FhG/Eri/Dlb/VA: Issue 508, Warnings on MacOS */
#define FIX_296_CFG_LFE_SCENE_DESC                       /* FhG: Fix issue 296 - add configurable LFE handling to the scene description file */
#define FIX_519_JBM_ACCESS_NULL_TC_BUFFER               /* FhG: fix issue 519, accessing a yet uninitialized TC Buffer in frame 0*/
#ifdef IND_LIST_DYN