-if [ $commits_behind_count -ne 0 ]; then echo "Your branch is not up-to-date with main -> Compare tests will not run as they can contain false negatives this way.\nMain might have changed during your pipeline run. Run 'git merge origin/main' to update."; exit 1; fi
-if [ $commits_behind_count -eq 0 ]; then exit 0; else echo "Your branch is behind main, run 'git merge origin/main' to update."; exit 1; fi;
branch-is-up-to-date-with-main-post:
extends:
-.rules-merge-request
stage:postvalidate
tags:
-ivas-linux
script:
-*get-commits-behind-count
-echo $commits_behind_count
-if [ $commits_behind_count -eq 0 ]; then exit 0; else echo "Your branch is behind main, possibly main changed during your pipeline run, run 'git merge origin/main' to update." exit 1; fi;
*total_brate_sec=max(*total_brate_sec,tdm_bit_allc_tbl[0][0]);/* sanity check to ensure the secondary channel always gets the minimal bitrate it needs */
}
else
{
*total_brate_sec=max(*total_brate_sec,3500);/* sanity check to ensure the secondary channel always gets the minimal bitrate it needs */
}
#else
*total_brate_sec=max(*total_brate_sec,tdm_bit_allc_tbl[idx][coder_type]);/* sanity check to ensure the secondary channel always gets the minimal bitrate it needs */
/* any switch which is non-be wrt selection floating point code */
/* all switches in this category should start with "NONBE_" */
#define NONBE_FIX_736_FOA_BR_SWITCH /* FhG/Dlb : Issue 736: FOA bitrate switching decoding crashes in in ivas_spar_to_dirac */
#define NONBE_FIX_746_NONDIEGETIC_MD /* Eri: Issue 746: The non-diegetic panning flag affects the encoder bitstream even if extended metadata is not enabled. Crashes the decoder.*/
#define FIX_INV_DIFFUSE_WEIGHT/* Orange : Fix error in energy compensation in late binaural reverb*/
#define FIX_638_ENERGIE_IAC_ROM_TABLES /* Missing left/right and coherence late reverb tables in binary format*/
#define NONBE_FIX_729_ASAN_2ISM_ACELP /* VA: issue 729: fix ASAN ACELP errors with 2 ISM coding using LTV */
#define NONBE_FIX_694_OMASA_ACELP /* Nokia: Issue #694: OMASA crash in ACELP with extreme item */
#define NONBE_FIX_760_COHERENCE_MASA /* Nokia: Issue 760: fixes decoder crash for some cases when all energy ratios are 1 */
/* ##################### End NON-BE switches ############################# */
/* ################## End DEVELOPMENT switches ######################### */