summaryrefslogtreecommitdiff
path: root/libavdevice
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 /libavdevice
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 'libavdevice')
-rw-r--r--libavdevice/version.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavdevice/version.h b/libavdevice/version.h
index 8daeb0059a..914e156ec7 100644
--- a/libavdevice/version.h
+++ b/libavdevice/version.h
@@ -46,8 +46,6 @@
* dropped at a future version bump. The defines themselves are not part of
* the public API and may change, break or disappear at any time.
*/
-#ifndef FF_API_DEVICE_CAPABILITIES
#define FF_API_DEVICE_CAPABILITIES (LIBAVDEVICE_VERSION_MAJOR < 60)
-#endif
#endif /* AVDEVICE_VERSION_H */