Commit 5344aa05 authored by multrus's avatar multrus
Browse files

initialize prm_sqQ-pointer, to prevent being uninitialized in case of bfi == 1

parent 187213dc
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -107,6 +107,7 @@
#define FIX_2330_CLANG_18_WARNINGS_REND                 /* FhG: Fix renderer warnings */
#define FIX_BASOP_2350_HARM_0B_BWE                      /* VA: basop issue 2350: harmonization of the 0b BWE */
#define FIX_2349_HARM_FIND_UV                           /* VA: basop issue 2349: harmonization of find_uv() function */
#define FIX_2353_PTR_INIT                               /* FhG: basop issue 2353: initialize prm_sqQ-pointer, to prevent being uninitialized in case of bfi == 1 */

/* #################### End BE switches ################################## */

+3 −0
Original line number Diff line number Diff line
@@ -4021,6 +4021,9 @@ void decoder_tcx_ivas_fx(
    move16();
    fUseTns = 0; /* flag that is set if TNS data is present */
    move16();
#ifdef FIX_2353_PTR_INIT
    prm_sqQ = NULL;
#endif

    set16_fx( xn_buf_fx, 0, L_MDCT_OVLP_MAX + L_FRAME_PLUS + L_MDCT_OVLP_MAX );