summaryrefslogtreecommitdiff
path: root/libavutil/intfloat_readwrite.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2005-08-14 15:42:40 +0000
committerMåns Rullgård <mans@mansr.com>2005-08-14 15:42:40 +0000
commitbf4e3bd2d0263169ebf5d88972ae319ecb0d7a1e (patch)
tree21994d3ba7eb77248e57a7291217c45816ce7648 /libavutil/intfloat_readwrite.c
parent72ce053b9cc9fc7fddce15ea8833a3783fef3540 (diff)
downloadffmpeg-bf4e3bd2d0263169ebf5d88972ae319ecb0d7a1e.tar.gz
kill a bunch of compiler warnings
Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/intfloat_readwrite.c')
-rw-r--r--libavutil/intfloat_readwrite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/intfloat_readwrite.c b/libavutil/intfloat_readwrite.c
index cf4d495e59..81d35dad96 100644
--- a/libavutil/intfloat_readwrite.c
+++ b/libavutil/intfloat_readwrite.c
@@ -28,7 +28,7 @@
double av_int2dbl(int64_t v){
if(v+v > 0xFFELLU<<52)
return 0.0/0.0;
- return ldexp(((v&(1LL<<52)-1) + (1LL<<52)) * (v>>63|1), (v>>52&0x7FF)-1075);
+ return ldexp(((v&((1LL<<52)-1)) + (1LL<<52)) * (v>>63|1), (v>>52&0x7FF)-1075);
}
float av_int2flt(int32_t v){