Commit 0357cb5b authored by bcoudurier's avatar bcoudurier

use C99 standard constant, thanks to Foxy Shadis

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5986 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c971dda2
......@@ -27,7 +27,7 @@
#include "intfloat_readwrite.h"
double av_int2dbl(int64_t v){
if(v+v > 0xFFELLU<<52)
if(v+v > 0xFFEULL<<52)
return 0.0/0.0;
return ldexp(((v&((1LL<<52)-1)) + (1LL<<52)) * (v>>63|1), (v>>52&0x7FF)-1075);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment