From: Fabrice Bellard Date: Tue, 29 Oct 2002 22:39:11 +0000 (+0000) Subject: use lrintf to avoid double conversion X-Git-Tag: v0.5~17151 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=bc423886482de2be384ba583e1d5ddbcf3aac262;p=coroid%2Flibav_saccubus.git use lrintf to avoid double conversion Originally committed as revision 1107 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/wmadec.c b/libavcodec/wmadec.c index 9826e4bc9..f48f09727 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 32767) a = 32767; else if (a < -32768)