Commit 7ba7f0e0 authored by vaclav's avatar vaclav
Browse files

Merge remote-tracking branch 'remotes/origin/main' into...

Merge remote-tracking branch 'remotes/origin/main' into 417-incorrect-use-of-td-decorrelator-in-bitrate-switching
parents 34d8e0e1 98a326b7
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -160,6 +160,7 @@

#define FIX_416_ISM_BR_SWITCHING                        /* FhG: add missing CLDFB reconfig to ISM BR switching */
#define FIX_SP2A                                        /* VA: Issue 412: Adjust threshold for the S_p2a feature in the tonal detector */
#define FIX_413_SBA_DTX                                 /* Dlb: Fix for issue 413, SBA DTX CNG in 2TC mode*/
#define FIX_417_TD_DECORR_BRATE_SW                      /* VA: Issue 417: fix incorrect use of TD decorrelator in bitrate switching */


+11 −0
Original line number Diff line number Diff line
@@ -468,11 +468,22 @@ ivas_error initMdctStereoDtxData(

            /* Init FD-CNG */
            initFdCngDec( st );
#ifndef FIX_413_SBA_DTX
            if ( ch == 1 && st->cng_sba_flag )
            {
                st->hFdCngDec->hFdCngCom->seed += 3;
            }
#endif
        }
#ifdef FIX_413_SBA_DTX
        if ( st->first_CNG == 0 )
        {
            if ( ch == 1 && st->cng_sba_flag )
            {
                st->hFdCngDec->hFdCngCom->seed += 3;
            }
        }
#endif

        if ( st->cldfbAna == NULL )
        {