diff --git a/lib_dec/FEC_HQ_phase_ecu.c b/lib_dec/FEC_HQ_phase_ecu.c index 061f392047bcce647b750cd8e1201e9e3086a676..da65786dc485ecb178b453c9601c253b365acd32 100644 --- a/lib_dec/FEC_HQ_phase_ecu.c +++ b/lib_dec/FEC_HQ_phase_ecu.c @@ -2155,7 +2155,11 @@ static void hq_phase_ecu( } else { +#ifdef FIX_1179_USAN_PHASEECU + *time_offs = (int16_t) ( *time_offs + output_frame ); /* cast added for USAN, "+=" avoided as it may creat a truncation from int to int16_t */ +#else *time_offs += output_frame; +#endif if ( *time_offs <= 0 ) { /* detect wrap around of st->time_offs */