Commit 2ff60b7c authored by vaclav's avatar vaclav
Browse files

propagate the fix also to the encoder

parent f29d192e
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -92,7 +92,11 @@ void core_encode_update(
        }
    }

#ifdef NON_BE_1055_RESET_LP_MEMORIES
    if ( ( st->Opt_DTX_ON && st->core_brate <= SID_2k40 && st->cng_type == FD_CNG ) || ( st->tcxonly && ( st->codec_mode == MODE2 || st->element_mode > EVS_MONO ) ) )
#else
    if ( ( st->Opt_DTX_ON && st->core_brate <= SID_2k40 && st->cng_type == FD_CNG ) || ( st->tcxonly && st->codec_mode == MODE2 ) )
#endif
    {
        /* reset LP memories */
        set_zero( st->mem_MA, M );