Mercurial > libavutil.hg
changeset 92:79e95d74ce85 libavutil
use C99 standard constant, thanks to Foxy Shadis
author | bcoudurier |
---|---|
date | Fri, 11 Aug 2006 21:39:09 +0000 |
parents | 04f62b676170 |
children | b47203d3711f |
files | intfloat_readwrite.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/intfloat_readwrite.c Tue Aug 08 07:58:10 2006 +0000 +++ b/intfloat_readwrite.c Fri Aug 11 21:39:09 2006 +0000 @@ -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); }