summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-08-11 21:39:09 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-08-11 21:39:09 +0000
commit1ce83a36bf10717ca5590cb4d96a9fa73a7563bf (patch)
tree576b3f04db2583daa7baf7b2814a664eaa1f43ee
parent81f0f938263c16ec55bda8365f6a70dcc48194cd (diff)
downloadffmpeg-streaming-1ce83a36bf10717ca5590cb4d96a9fa73a7563bf.zip
ffmpeg-streaming-1ce83a36bf10717ca5590cb4d96a9fa73a7563bf.tar.gz
use C99 standard constant, thanks to Foxy Shadis
Originally committed as revision 5986 to svn://svn.ffmpeg.org/ffmpeg/trunk
-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 b429fe9..7deb777 100644
--- a/libavutil/intfloat_readwrite.c
+++ b/libavutil/intfloat_readwrite.c
@@ -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);
}
OpenPOWER on IntegriCloud