summaryrefslogtreecommitdiff
path: root/libavfilter/version.h
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 /libavfilter/version.h
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 'libavfilter/version.h')
-rw-r--r--libavfilter/version.h6
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 */