Commit 3a343049 authored by Arash Azizi's avatar Arash Azizi
Browse files

issue 2550: adding assert and switch to figure out if there is really a functional difference

parent 6b289e01
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -112,6 +112,7 @@
#define HARMONIZE_2553_TonalConceal_Init                /* FhG: Harmonize TonalMDCTConceal_Init with its ivas derivate */
#define HARMONIZE_2553_TonalConceal_SaveFreqSignal      /* FhG: Harmonize TonalConceal_SaveFreqSignal with its ivas derivate */
#define HARMONIZE_2553_TonalConceal_SaveTimeSignal      /* FhG: Harmonize TonalConceal_SaveTimeSignal with its ivas derivate */
#define FIX_ISSUE_2550_REVIEW_CONDITIONS                /* FhG: BASOP Issue 2550: Review conditions in tcx_encoder_memory_update()*/

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

+4 −0
Original line number Diff line number Diff line
@@ -2623,6 +2623,10 @@ void tcx_encoder_memory_update_ivas_fx(
    move16();

    test();
#ifdef FIX_ISSUE_2550_REVIEW_CONDITIONS
    assert(st->tcxonly == 0 || GE_16(L_frame_glob, L_FRAME16k));
#endif // FIX_ISSUE_2550_REVIEW_CONDITIONS

    IF( st->tcxonly == 0 || LE_16( L_frame_glob, L_FRAME16k ) )
    {
        /* Update excitation */