Commit 82e50976 authored by malenov's avatar malenov
Browse files

attempt to fix unbalanced parentheses due to #ifdef IVAS_CODE in stereo CNA

parent 0e936801
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1533,8 +1533,10 @@ ivas_error acelp_core_dec_fx(
                    }
                }
            }
#endif
        }

#ifdef IVAS_CODE
        if ( !st->cna_dirac_flag )
        {
            if ( st->flag_cna == 0 && st->L_frame == L_FRAME16k && st->last_flag_cna == 1 && ( ( st->last_core == ACELP_CORE && !( st->last_coder_type == AUDIO && !( st->element_mode > EVS_MONO && st->Last_GSC_noisy_speech_flag ) ) ) || st->last_core == AMR_WB_CORE ) )
@@ -1568,8 +1570,9 @@ ivas_error acelp_core_dec_fx(
                    move16();
                }
            }
        }
#endif

#ifndef IVAS_CODE
        IF( st_fx->flag_cna == 0 && EQ_16( st_fx->L_frame, L_FRAME16k ) && st_fx->last_flag_cna == 1 && ( ( st_fx->last_core == ACELP_CORE && st_fx->last_coder_type != AUDIO ) || st_fx->last_core == AMR_WB_CORE ) )
        {
            FOR( i = 0; i < st_fx->L_frame / 2; i++ )
@@ -1586,6 +1589,7 @@ ivas_error acelp_core_dec_fx(
        }
#endif
    }

    /*----------------------------------------------------------------*
     * Resample to the output sampling rate (8/16/32/48 kHz)
     * Bass post-filter