Commit f9649675 authored by multrus's avatar multrus
Browse files

make sure no_param_lpc is initialized in core_encode_twodiv()

parent b0d052d7
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -91,6 +91,7 @@
#define HARM_2456_APPLY_SCALE                           /* FhG basop issue 2456: Harmonize apply_scale_ind(), apply_scale_ivas_fx() */
#define HARM_2454_TCX_RES_Q_SPEC                        /* FhG: harmonization of tcx_res_Q_spec_fx() and tcx_res_Q_spec_ivas_fx() */
#define FIX_FLOAT_1535_ARI_RES_Q_CLEANUP                /* FhG: remove dead code from tcx_ari_res_Q_spec() */
#define FIX_FLOAT_1536_INIT_NO_PARAM_LPC                /* FhG: make sure no_param_lpc is initialized in core_encode_twodiv() */

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

+6 −0
Original line number Diff line number Diff line
@@ -67,11 +67,17 @@ void core_encode_twodiv_fx(
    move16();
    move16();
    move16();
#ifdef FIX_FLOAT_1536_INIT_NO_PARAM_LPC
    move16();
#endif
    tnsSize[0] = 0;
    tnsSize[1] = 0;
    tnsBits[0] = 0;
    tnsBits[1] = 0;
    ltpBits = 0;
#ifdef FIX_FLOAT_1536_INIT_NO_PARAM_LPC
    no_param_lpc = 0;
#endif

    FOR( i = 0; i < 3; i++ )
    {