Loading lib_com/options.h +3 −0 Original line number Diff line number Diff line Loading @@ -171,6 +171,9 @@ #define FIX_562_ISM2_64KBPS /* VA: issue 562: fix ISM2 at 64kbps issue */ #define FIX_559_EXTL_IGF_MISMATCH /* VA: issue 559: fix mismatch between st->extl and st->igf observed as crash in PlanarSBA bitrate switching */ /* ################## End DEVELOPMENT switches ######################### */ /* clang-format on */ Loading lib_enc/ivas_core_enc.c +4 −0 Original line number Diff line number Diff line Loading @@ -367,7 +367,11 @@ ivas_error ivas_core_enc( } /* SWB TBE encoder */ #ifdef FIX_559_EXTL_IGF_MISMATCH if ( st->extl == SWB_TBE || st->extl == FB_TBE ) #else if ( st->extl == SWB_TBE || st->extl == FB_TBE || ( st->igf && st->core == ACELP_CORE && st->extl != WB_TBE ) ) #endif { if ( st->core_brate != FRAME_NO_DATA && st->core_brate != SID_2k40 ) { Loading lib_enc/ivas_core_pre_proc.c +7 −0 Original line number Diff line number Diff line Loading @@ -288,6 +288,13 @@ ivas_error pre_proc_ivas( else if ( element_brate != last_element_brate ) { SetModeIndex( st, st->bits_frame_nominal * FRAMES_PER_SEC, element_mode, MCT_flag ); #ifdef FIX_559_EXTL_IGF_MISMATCH if ( st->extl != -1 && st->extl != IGF_BWE && st->igf == 1 ) { st->igf = 0; } #endif } Loading Loading
lib_com/options.h +3 −0 Original line number Diff line number Diff line Loading @@ -171,6 +171,9 @@ #define FIX_562_ISM2_64KBPS /* VA: issue 562: fix ISM2 at 64kbps issue */ #define FIX_559_EXTL_IGF_MISMATCH /* VA: issue 559: fix mismatch between st->extl and st->igf observed as crash in PlanarSBA bitrate switching */ /* ################## End DEVELOPMENT switches ######################### */ /* clang-format on */ Loading
lib_enc/ivas_core_enc.c +4 −0 Original line number Diff line number Diff line Loading @@ -367,7 +367,11 @@ ivas_error ivas_core_enc( } /* SWB TBE encoder */ #ifdef FIX_559_EXTL_IGF_MISMATCH if ( st->extl == SWB_TBE || st->extl == FB_TBE ) #else if ( st->extl == SWB_TBE || st->extl == FB_TBE || ( st->igf && st->core == ACELP_CORE && st->extl != WB_TBE ) ) #endif { if ( st->core_brate != FRAME_NO_DATA && st->core_brate != SID_2k40 ) { Loading
lib_enc/ivas_core_pre_proc.c +7 −0 Original line number Diff line number Diff line Loading @@ -288,6 +288,13 @@ ivas_error pre_proc_ivas( else if ( element_brate != last_element_brate ) { SetModeIndex( st, st->bits_frame_nominal * FRAMES_PER_SEC, element_mode, MCT_flag ); #ifdef FIX_559_EXTL_IGF_MISMATCH if ( st->extl != -1 && st->extl != IGF_BWE && st->igf == 1 ) { st->igf = 0; } #endif } Loading