projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d85cbd
)
use lrintf to avoid double conversion
author
Fabrice Bellard
<fabrice@bellard.org>
Tue, 29 Oct 2002 22:39:11 +0000
(22:39 +0000)
committer
Fabrice Bellard
<fabrice@bellard.org>
Tue, 29 Oct 2002 22:39:11 +0000
(22:39 +0000)
Originally committed as revision 1107 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/wmadec.c
patch
|
blob
|
history
diff --git
a/libavcodec/wmadec.c
b/libavcodec/wmadec.c
index
9826e4b
..
f48f097
100644
(file)
--- 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 = lrint
f
(*iptr++);
if (a > 32767)
a = 32767;
else if (a < -32768)