Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to libavutil/intfloat_readwrite.c (1 of 15 files). Show all
Unified · Split
| @@ -28,7 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | double av_int2dbl(int64_t v){ |
| 29 | 29 | if(v+v > 0xFFELLU<<52) |
| 30 | 30 | return 0.0/0.0; |
| 31 | − return ldexp(((v&(1LL<<52)-1) + (1LL<<52)) * (v>>63|1), (v>>52&0x7FF)-1075); | |
| 31 | + return ldexp(((v&((1LL<<52)-1)) + (1LL<<52)) * (v>>63|1), (v>>52&0x7FF)-1075); | |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | float av_int2flt(int32_t v){ |