From bc423886482de2be384ba583e1d5ddbcf3aac262 Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Tue, 29 Oct 2002 22:39:11 +0000 Subject: use lrintf to avoid double conversion Originally committed as revision 1107 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/wmadec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/wmadec.c') 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 32767) a = 32767; else if (a < -32768) -- cgit v1.2.3