Commit 65bb113f authored by Arash Azizi's avatar Arash Azizi
Browse files

issue 2550: applying the same assert in function tcx_encoder_memory_update_fx()

parent 69c74642
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2406,6 +2406,9 @@ void tcx_encoder_memory_update_fx(
    Copy( synth + sub( L_frame_glob, L_SYN_MEM ), LPDmem->mem_syn_r, L_SYN_MEM );

    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 */