summaryrefslogtreecommitdiff
path: root/libavfilter/formats.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/formats.h')
-rw-r--r--libavfilter/formats.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavfilter/formats.h b/libavfilter/formats.h
index 708bee3ee8..ffe7a12d53 100644
--- a/libavfilter/formats.h
+++ b/libavfilter/formats.h
@@ -20,6 +20,7 @@
#define AVFILTER_FORMATS_H
#include "avfilter.h"
+#include "version.h"
/**
* A list of supported formats for one end of a filter link. This is used
@@ -139,8 +140,11 @@ av_warn_unused_result
AVFilterChannelLayouts *ff_all_channel_counts(void);
av_warn_unused_result
-AVFilterChannelLayouts *avfilter_make_format64_list(const int64_t *fmts);
+AVFilterChannelLayouts *ff_make_format64_list(const int64_t *fmts);
+#if LIBAVFILTER_VERSION_MAJOR < 8
+AVFilterChannelLayouts *avfilter_make_format64_list(const int64_t *fmts);
+#endif
/**
* A helper for query_formats() which sets all links to the same list of channel