Commit c9725c43 authored by vaclav's avatar vaclav
Browse files

FIX_1525_UNINIT_FORMAT_SWITCHING_DEC

parent a7ee5592
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -3371,6 +3371,10 @@ static ivas_error decodeVoIP(

            *phIvasDec = hIvasDec; /* Update for main()' s free */
            ivasRtp.restartNeeded = false;
#ifdef FIX_1525_UNINIT_FORMAT_SWITCHING_DEC
            bitstreamReadDone = false;
            parametersAvailableForEditing = false;
#endif
        }

        /* reference vector */
@@ -3619,6 +3623,10 @@ static ivas_error decodeVoIP(
                        goto cleanup;
                    }
                    *phIvasDec = hIvasDec; /* Update for main()' s free */
#ifdef FIX_1525_UNINIT_FORMAT_SWITCHING_DEC
                    bitstreamReadDone = false;
                    parametersAvailableForEditing = false;
#endif
                }

                /* Placeholder for memory reallocation */
+2 −0
Original line number Diff line number Diff line
@@ -177,6 +177,8 @@
#define FIX_FLOAT_1533_BLEND_SUBFR2                     /* FhG: float issue 1533: correct blending in blend_subfr2() */

#define FIX_1530_Codec_Level_Harmonization_Non_diegetic_panning /* FhG: Adjust non-diegetic panning law to harmonize codec levels with 3GPP reference software */
#define FIX_1525_UNINIT_FORMAT_SWITCHING_DEC            /* VA: basop issue 1525: fix reading of uninitialized memory in format switching at the decoder */

/* ##################### End NON-BE switches ########################### */

/* ################## End MAINTENANCE switches ######################### */