aboutsummaryrefslogtreecommitdiff
path: root/src/opus_decoder.c
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2012-07-17 17:40:55 -0400
committerGregory Maxwell <greg@xiph.org>2012-07-17 17:42:00 -0400
commit37f56593a20242a08b5315d3b78820f6dc060996 (patch)
tree8ccc75278b6dc21fde0aedc3530df8baa6329e8b /src/opus_decoder.c
parent9621e7113d6bfbaee51a91891c307b1e1993168e (diff)
downloadlibopus-37f56593a20242a08b5315d3b78820f6dc060996.tar.gz
Convert some double constants to float.
Diffstat (limited to 'src/opus_decoder.c')
-rw-r--r--src/opus_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_decoder.c b/src/opus_decoder.c
index 58f44ac7..966ca872 100644
--- a/src/opus_decoder.c
+++ b/src/opus_decoder.c
@@ -453,7 +453,7 @@ static int opus_decode_frame(OpusDecoder *st, const unsigned char *data,
pcm[i] = SAT16(pcm[i] + pcm_silk[i]);
#else
for (i=0;i<frame_size*st->channels;i++)
- pcm[i] = pcm[i] + (opus_val16)((1./32768.)*pcm_silk[i]);
+ pcm[i] = pcm[i] + (opus_val16)((1.f/32768.f)*pcm_silk[i]);
#endif
}