changeset 797:308e973c3fda libavcodec

use lrintf to avoid double conversion
author bellard
date Tue, 29 Oct 2002 22:39:11 +0000
parents 8a5b70c68fbd
children 50ae708fc721
files wmadec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/wmadec.c	Tue Oct 29 22:38:21 2002 +0000
+++ b/wmadec.c	Tue Oct 29 22:39:11 2002 +0000
@@ -1184,7 +1184,7 @@
         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)