* commit '70a7b24d56a823894440a372c46e89e212b89c35': avutil: Add deprecation ifdefs around obsolete intfloat code
Showing the changes to libavutil/intfloat_readwrite.c (1 of 3 files). Show all
Unified · Split
| @@ -29,7 +29,9 @@ · 28 unmodified lines | |||
| 29 | #include "common.h" | 29 | #include "common.h" |
| 30 | #include "mathematics.h" | 30 | #include "mathematics.h" |
| 31 | #include "intfloat_readwrite.h" | 31 | #include "intfloat_readwrite.h" |
| 32 | #include "version.h" | ||
| 32 | 33 | ||
| 34 | #if FF_API_INTFLOAT | ||
| 33 | double av_int2dbl(int64_t v){ | 35 | double av_int2dbl(int64_t v){ |
| 34 | if((uint64_t)v+v > 0xFFEULL<<52) | 36 | if((uint64_t)v+v > 0xFFEULL<<52) |
| 35 | return NAN; | 37 | return NAN; |
| @@ -96,3 +98,4 @@ AVExtFloat av_dbl2ext(double d){ · 60 unmodified lines | |||
| 96 | ext.exponent[0] |= 0x80; | 98 | ext.exponent[0] |= 0x80; |
| 97 | return ext; | 99 | return ext; |
| 98 | } | 100 | } |
| 101 | #endif /* FF_API_INTFLOAT */ | ||