diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-11-12 14:26:23 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-11-15 16:24:58 +0100 |
commit | db932241ee16868475fe9ab4c958fcffd1829ecf (patch) | |
tree | 459030d14cdf2cfcb39c258227c8667dda3fd0dd /libavutil/version.h | |
parent | 9e8cdb24cd2001959b37b08254d4c0cbc5668717 (diff) | |
download | ffmpeg-db932241ee16868475fe9ab4c958fcffd1829ecf.tar.gz |
*/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/version.h')
-rw-r--r-- | libavutil/version.h | 8 |
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 /** * @} |