Commit 3e3cfad5 authored by det's avatar det
Browse files

patched MR1226 into ref.

parent fbeb5ef8
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -176,6 +176,7 @@
/* #################### End FIXES switches ############################ */

#define BASOP_NOGLOB                                    /* Disable global symbols in BASOPs, Overflow/Carry in BASOPs disabled, additional BASOPs in case of Overflow */
#define NONBE_FIX_926_OSBA_DECODER_CRASH_PLANAR_SBA           /* FhG: issue 926: crash in OSBA decoding with planar FOA */


/* clang-format on */
+4 −0
Original line number Diff line number Diff line
@@ -1961,7 +1961,11 @@ int16_t ivas_jbm_dec_get_num_tc_channels(
        {
            num_tc = CPE_CHANNELS;
        }
#ifdef NONBE_FIX_926_OSBA_DECODER_CRASH_PLANAR_SBA
        if ( num_tc == 3 )
#else
        if ( ( st_ivas->sba_planar && num_tc >= 3 ) || ( num_tc == 3 ) )
#endif
        {
            num_tc++;
        }