diff --git a/libavfilter/formats.c b/libavfilter/formats.c index 713173e707..6c05b118c9 100644 --- a/libavfilter/formats.c +++ b/libavfilter/formats.c @@ -304,13 +304,6 @@ AVFilterChannelLayouts *ff_make_format64_list(const int64_t *fmts) return formats; } -#if LIBAVFILTER_VERSION_MAJOR < 8 -AVFilterChannelLayouts *avfilter_make_format64_list(const int64_t *fmts) -{ - return ff_make_format64_list(fmts); -} -#endif - #define ADD_FORMAT(f, fmt, unref_fn, type, list, nb) \ do { \ type *fmts; \ diff --git a/libavfilter/formats.h b/libavfilter/formats.h index 0520bf42a9..3a6044971b 100644 --- a/libavfilter/formats.h +++ b/libavfilter/formats.h @@ -157,10 +157,6 @@ AVFilterChannelLayouts *ff_all_channel_counts(void); av_warn_unused_result 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 * layouts/sample rates. If there are no links hooked to this filter, the list