diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-11-12 16:26:23 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-11-15 18:24:58 +0300 |
commit | db932241ee16868475fe9ab4c958fcffd1829ecf (patch) | |
tree | 459030d14cdf2cfcb39c258227c8667dda3fd0dd /libavfilter | |
parent | 9e8cdb24cd2001959b37b08254d4c0cbc5668717 (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 'libavfilter')
-rw-r--r-- | libavfilter/version.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libavfilter/version.h b/libavfilter/version.h index 1a4d0a75cd..0912af7afe 100644 --- a/libavfilter/version.h +++ b/libavfilter/version.h @@ -50,14 +50,8 @@ * the public API and may change, break or disappear at any time. */ -#ifndef FF_API_SWS_PARAM_OPTION #define FF_API_SWS_PARAM_OPTION (LIBAVFILTER_VERSION_MAJOR < 9) -#endif -#ifndef FF_API_BUFFERSINK_ALLOC #define FF_API_BUFFERSINK_ALLOC (LIBAVFILTER_VERSION_MAJOR < 9) -#endif -#ifndef FF_API_PAD_COUNT #define FF_API_PAD_COUNT (LIBAVFILTER_VERSION_MAJOR < 9) -#endif #endif /* AVFILTER_VERSION_H */ |