Commit 129bbb81 authored by multrus's avatar multrus
Browse files

Merge branch '2074_basop_portFltMr2158_compilerWarning' into 'main'

Port Flt MR 2158 to main - Resolve "Warnings with gcc 12.2.0 (Debian 12)"

Closes #2074

See merge request !2330
parents 3f8110ec 68bafb01
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -137,6 +137,7 @@
#define FIX_1053_REVERB_RECONFIGURATION
#define TMP_FIX_1119_SPLIT_RENDERING_VOIP               /* FhG: Add error check for unsupported config: split rendering with VoIP mode */
#define FIX_1113_EXTREND_ISAR                           /* FhG: issue 1113: fix external renderer asserts for FOA/HOA2 and CLDFB config */
#define FIX_938_COMPILER_WARNING                        /* FhG: Fix compiler warning in ivas_mdct_core_reconstruct() */

/* #################### End BASOP porting switches ############################ */

+6 −1
Original line number Diff line number Diff line
@@ -1420,8 +1420,11 @@ void ivas_mdct_core_reconstruct_fx(
        {
            Copy_Scale_sig_16_32_no_sat( st->p_bpf_noise_buf, st->p_bpf_noise_buf_32, st->L_frame, Q11 ); // Q0 -> Q11
        }

#ifndef FIX_938_COMPILER_WARNING
        IF( signal_outFB_fx[ch] != NULL )
        {
#endif
            Copy( synthFB_fx, signal_outFB_fx[ch], st->hTcxDec->L_frameTCX );
#ifdef FIX_2003_CON_TCX_OVERFLOW
            e_sig[ch] = sub( 15, q_syn + st->Q_syn_factor );
@@ -1429,7 +1432,9 @@ void ivas_mdct_core_reconstruct_fx(
        e_sig[ch] = sub( 15, q_syn );
#endif
            move16();
#ifndef FIX_938_COMPILER_WARNING
        }
#endif

        /* updates */
        st->last_voice_factor_fx = 0;