summaryrefslogtreecommitdiff
path: root/ffmpeg/libavutil/intfloat_readwrite.h
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg/libavutil/intfloat_readwrite.h')
-rw-r--r--ffmpeg/libavutil/intfloat_readwrite.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ffmpeg/libavutil/intfloat_readwrite.h b/ffmpeg/libavutil/intfloat_readwrite.h
index 9709f4d..1d79e3e 100644
--- a/ffmpeg/libavutil/intfloat_readwrite.h
+++ b/ffmpeg/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 */