Mercurial > libavutil.hg
comparison intfloat_readwrite.c @ 873:4d9ad0ed07d0 libavutil
Replace many includes of libavutil/common.h with what is actually needed
This reduces the number of false dependencies on header files and
speeds up compilation.
author | mru |
---|---|
date | Tue, 09 Mar 2010 17:39:19 +0000 |
parents | 70bdd5501662 |
children | 0795a743bda1 |
comparison
equal
deleted
inserted
replaced
872:9d32a031ab0b | 873:4d9ad0ed07d0 |
---|---|
23 /** | 23 /** |
24 * @file libavutil/intfloat_readwrite.c | 24 * @file libavutil/intfloat_readwrite.c |
25 * portable IEEE float/double read/write functions | 25 * portable IEEE float/double read/write functions |
26 */ | 26 */ |
27 | 27 |
28 #include "common.h" | 28 #include <stdint.h> |
29 #include <math.h> | |
29 #include "intfloat_readwrite.h" | 30 #include "intfloat_readwrite.h" |
30 | 31 |
31 double av_int2dbl(int64_t v){ | 32 double av_int2dbl(int64_t v){ |
32 if(v+v > 0xFFEULL<<52) | 33 if(v+v > 0xFFEULL<<52) |
33 return 0.0/0.0; | 34 return 0.0/0.0; |