[Ffmpeg-cvslog] r5986 - trunk/libavutil/intfloat_readwrite.c

bcoudurier subversion
Fri Aug 11 23:39:10 CEST 2006


Author: bcoudurier
Date: Fri Aug 11 23:39:09 2006
New Revision: 5986

Modified:
   trunk/libavutil/intfloat_readwrite.c

Log:
use C99 standard constant, thanks to Foxy Shadis

Modified: trunk/libavutil/intfloat_readwrite.c
==============================================================================
--- trunk/libavutil/intfloat_readwrite.c	(original)
+++ trunk/libavutil/intfloat_readwrite.c	Fri Aug 11 23:39:09 2006
@@ -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);
 }




More information about the ffmpeg-cvslog mailing list