summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/wmadec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wmadec.c b/libavcodec/wmadec.c
index 9826e4bc9a..f48f097273 100644
--- a/libavcodec/wmadec.c
+++ b/libavcodec/wmadec.c
@@ -1184,7 +1184,7 @@ static int wma_decode_frame(WMADecodeContext *s, int16_t *samples)
iptr = s->frame_out[ch];
for(i=0;i<n;i++) {
- a = lrint(*iptr++);
+ a = lrintf(*iptr++);
if (a > 32767)
a = 32767;
else if (a < -32768)