Commit 12c80957 authored by Jonas Svedberg's avatar Jonas Svedberg Committed by emerit
Browse files

added explicit cast in PhaseEcu in framesize addition to time_offs

parent e2b62fed
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2114,7 +2114,7 @@ static void hq_phase_ecu(
            }
            else
            {
                *time_offs += output_frame; /* EVS_MONO BE compatible, but EVS CR needed as wrap will cause burst length muting envelope instability issues */
                *time_offs += (int16_t) output_frame; /* EVS_MONO BE compatible, but EVS CR needed as wrap will cause burst length muting envelope instability issues */
            }
#else
            *time_offs += output_frame;
@@ -2122,6 +2122,9 @@ static void hq_phase_ecu(
    }
    else
    {
#ifdef FIX_1179_USAN_PHASEECU
        *time_offs += (int16_t)output_frame; /* cast added for USAN */
#else
        *time_offs += output_frame;
        if ( *time_offs <= 0 )
        {