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.h | |
parent | 79d9884e9590c28a0a7ca802a3ba54f2ff4ee423 (diff) | |
download | ffmpeg-70a7b24d56a823894440a372c46e89e212b89c35.tar.gz |
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.h')
-rw-r--r-- | libavutil/intfloat_readwrite.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/intfloat_readwrite.h b/libavutil/intfloat_readwrite.h index f093b92cd2..4759ab4916 100644 --- a/libavutil/intfloat_readwrite.h +++ b/libavutil/intfloat_readwrite.h @@ -22,8 +22,11 @@ #define AVUTIL_INTFLOAT_READWRITE_H #include <stdint.h> + #include "attributes.h" +#include "version.h" +#if FF_API_INTFLOAT /* IEEE 80 bits extended float */ typedef struct AVExtFloat { uint8_t exponent[2]; @@ -36,5 +39,6 @@ attribute_deprecated double av_ext2dbl(const AVExtFloat ext) av_const; attribute_deprecated int64_t av_dbl2int(double d) av_const; attribute_deprecated int32_t av_flt2int(float d) av_const; attribute_deprecated AVExtFloat av_dbl2ext(double d) av_const; +#endif /* FF_API_INTFLOAT */ #endif /* AVUTIL_INTFLOAT_READWRITE_H */ |