Commit cc240b0e authored by vaclav's avatar vaclav
Browse files

fix MSAN error within FIX_529_BWD_ISSUE

parent baa47b2b
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -89,8 +89,8 @@ void bw_detect(

    bwd_count_wider_bw = BWD_COUNT_WIDER_BW;
#ifdef FIX_529_BWD_ISSUE
    if ( ( st->element_mode == IVAS_CPE_MDCT && ( st->element_brate >= IVAS_64k || mct_on ) ) ||
         ( ivas_format == ISM_FORMAT && st->element_brate >= IVAS_48k ) )
    if ( st->ini_frame > 0 && ( ( st->element_mode == IVAS_CPE_MDCT && ( st->element_brate >= IVAS_64k || mct_on ) ) ||
                                ( ivas_format == ISM_FORMAT && st->element_brate >= IVAS_48k ) ) )
#else
    if ( st->element_mode == IVAS_CPE_MDCT && ( st->element_brate > IVAS_64k || mct_on ) )
#endif