diff --git a/libavcodec/evrcdec.c b/libavcodec/evrcdec.c index f0e594fdde78f90d51f8edc0a58c2ba563e1f6df..f104e3313be78468f8a67997e618906350231d48 100644 --- a/libavcodec/evrcdec.c +++ b/libavcodec/evrcdec.c @@ -374,7 +374,7 @@ static void bl_intrp(EVRCContext *e, float *ex, float delay) int offset, i, coef_idx; int16_t t; - offset = lrintf(fabs(delay)); + offset = lrintf(delay); t = (offset - delay + 0.5) * 8.0 + 0.5; if (t == 8) {