summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-11-12 14:26:23 +0100
committerAnton Khirnov <anton@khirnov.net>2021-11-15 16:24:58 +0100
commitdb932241ee16868475fe9ab4c958fcffd1829ecf (patch)
tree459030d14cdf2cfcb39c258227c8667dda3fd0dd /libavutil
parent9e8cdb24cd2001959b37b08254d4c0cbc5668717 (diff)
*/version.h: define FF_API macros unconditionally
There is no reason to wrap them in #ifndef guards, they should only be defined here and nowhere else. The define guards just add the possibility to accidentally use the same FF_API name in different libraries.
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/version.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavutil/version.h b/libavutil/version.h
index eeb33b388c..5ebef06829 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -105,18 +105,10 @@
* @{
*/
-#ifndef FF_API_D2STR
#define FF_API_D2STR (LIBAVUTIL_VERSION_MAJOR < 58)
-#endif
-#ifndef FF_API_DECLARE_ALIGNED
#define FF_API_DECLARE_ALIGNED (LIBAVUTIL_VERSION_MAJOR < 58)
-#endif
-#ifndef FF_API_COLORSPACE_NAME
#define FF_API_COLORSPACE_NAME (LIBAVUTIL_VERSION_MAJOR < 58)
-#endif
-#ifndef FF_API_AV_MALLOCZ_ARRAY
#define FF_API_AV_MALLOCZ_ARRAY (LIBAVUTIL_VERSION_MAJOR < 58)
-#endif
/**
* @}