Commit 6ca77538 authored by vaclav's avatar vaclav
Browse files

fix GSC decoder, under ISM_FB_16k4

parent 225c13a2
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -104,7 +104,11 @@ void decod_audio(
    }

    /* safety check in case of bit errors */
#ifdef ISM_FB_16k4
    if ( st->GSC_noisy_speech && st->bwidth < SWB && st->GSC_IVAS_mode == 0 )
#else
    if ( st->GSC_noisy_speech && st->bwidth != SWB && st->GSC_IVAS_mode == 0 )
#endif
    {
        st->BER_detect = 1;
        st->GSC_noisy_speech = 0;