From db932241ee16868475fe9ab4c958fcffd1829ecf Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 12 Nov 2021 14:26:23 +0100 Subject: */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. --- libavfilter/version.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libavfilter/version.h') 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 */ -- cgit v1.2.3