diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-12-13 13:34:07 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-12-13 23:45:54 +0100 |
commit | 70a7b24d56a823894440a372c46e89e212b89c35 (patch) | |
tree | 3bc60dbc233c8c58fe1ecde3b2966ba338b77765 /libavutil/intfloat_readwrite.c | |
parent | 79d9884e9590c28a0a7ca802a3ba54f2ff4ee423 (diff) |
avutil: Add deprecation ifdefs around obsolete intfloat code
This long-deprecated code should disappear at the next version bump.
Diffstat (limited to 'libavutil/intfloat_readwrite.c')
-rw-r--r-- | libavutil/intfloat_readwrite.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/intfloat_readwrite.c b/libavutil/intfloat_readwrite.c index 68385635ef..71daa381bd 100644 --- a/libavutil/intfloat_readwrite.c +++ b/libavutil/intfloat_readwrite.c @@ -28,7 +28,9 @@ #include <stdint.h> #include "mathematics.h" #include "intfloat_readwrite.h" +#include "version.h" +#if FF_API_INTFLOAT double av_int2dbl(int64_t v){ if((uint64_t)v+v > 0xFFEULL<<52) return NAN; @@ -95,3 +97,4 @@ AVExtFloat av_dbl2ext(double d){ ext.exponent[0] |= 0x80; return ext; } +#endif /* FF_API_INTFLOAT */ |