summaryrefslogtreecommitdiffstats
path: root/libavcodec/evrcdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/evrcdec.c')
-rw-r--r--libavcodec/evrcdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/evrcdec.c b/libavcodec/evrcdec.c
index f0e594f..f104e33 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) {
OpenPOWER on IntegriCloud