aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/intfloat_readwrite.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-12-14 11:13:51 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-12-14 11:13:55 +0100
commitacda7c8e20dc7cfda038edd0dfbac98f40970111 (patch)
treefb7ec3c40b144d4d690f2d7d6dbdca1bef3a7adc /libavutil/intfloat_readwrite.h
parent2cfccd8060b9c4c61ae861a2842469708c71de72 (diff)
parent70a7b24d56a823894440a372c46e89e212b89c35 (diff)
downloadffmpeg-acda7c8e20dc7cfda038edd0dfbac98f40970111.tar.gz
Merge commit '70a7b24d56a823894440a372c46e89e212b89c35'
* commit '70a7b24d56a823894440a372c46e89e212b89c35': avutil: Add deprecation ifdefs around obsolete intfloat code Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/intfloat_readwrite.h')
-rw-r--r--libavutil/intfloat_readwrite.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/intfloat_readwrite.h b/libavutil/intfloat_readwrite.h
index 9709f4dae4..1d79e3e8af 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 */