This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
use lrintf to avoid double conversion
Originally committed as revision 1107 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Fabrice Bellard
23 years ago
parent
9d85cbd93a
commit
bc42388648
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/wmadec.c
+ 1
- 1
libavcodec/wmadec.c
View File
@@ -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)
Write
Preview
Loading…
Cancel
Save