Commit 15adbc6e authored by vaillancour's avatar vaillancour
Browse files

update cod_tcx.c

parent d34017fa
Loading
Loading
Loading
Loading
+11 −8
Original line number Diff line number Diff line
@@ -1317,22 +1317,25 @@ void QuantizeSpectrum(

        noiseFillingSize = L_spec;
        move16();
        IF (st->igf != 0)
        if (st->igf != 0)
        {
            noiseFillingSize = st->hIGFEnc->infoStartLine;
            move16();
        }
        ELSE
        IF (st->igf != 0)
        {
            st->hIGFEnc->infoStopLine = noiseFillingSize;
            move16();
            FOR(i = st->hIGFEnc->infoStopLine; i < s_max(L_frame, L_frameTCX); i++)
            {
                spectrum[i] = L_deposit_l(0);
            }

        FOR (i=st->hIGFEnc->infoStopLine; i<L_frameTCX; i++)
        }
        ELSE
        {
            FOR(i = noiseFillingSize; i < s_max(L_frame, L_frameTCX); i++)
            {
                spectrum[i] = L_deposit_l(0);
            }

        }
        /*-----------------------------------------------------------*
         * Quantization                                              *
         *-----------------------------------------------------------*/