Commit 95e95468 authored by vaclav's avatar vaclav
Browse files

fix

parent 25e294bd
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -691,7 +691,17 @@ void hq_hr_dec_fx(

    IF( EQ_16( *is_transient, 1 ) )
    {
#ifdef HARM_HQ_CORE2
        tmp_length = length;
        if ( length == 960 )
        {
            tmp_length = L_SPEC48k; // this is temp. hack to keep EVS BE
        }

        de_interleave_spectrum_fx( t_audio_q, tmp_length );
#else
        de_interleave_spectrum_fx( t_audio_q, length );
#endif
    }

    /*------------------------------------------------------------------*
+10 −0
Original line number Diff line number Diff line
@@ -122,7 +122,17 @@ void hq_hr_enc_fx(
    /* Interleave MLT coefficients of 4 sub-vectors in case of transient */
    IF( EQ_16( is_transient, 1 ) )
    {
#ifdef HARM_HQ_CORE2
        Word16 tmp_length = length;
        if ( length == 960 )
        {
            tmp_length = L_SPEC48k; // this is temp. hack to keep EVS BE
        }

        interleave_spectrum_fx( t_audio, tmp_length );
#else
        interleave_spectrum_fx( t_audio, length );
#endif
    }

    test();