From: Andreas Rheinhardt Date: Sat, 6 Mar 2021 18:06:56 +0000 (+0100) Subject: avfilter/formats: Remove avfilter_make_format64_list() X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=930391e5988abe126d29c5e9b09fab459e0b8936;p=ffmpeg avfilter/formats: Remove avfilter_make_format64_list() The API it is part of has been made private long ago (see commit b74a1da49db5ebed51aceae6cacc2329288a92c1). Signed-off-by: Andreas Rheinhardt Signed-off-by: James Almer --- diff --git a/libavfilter/formats.c b/libavfilter/formats.c index 713173e7070..6c05b118c9c 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 0520bf42a94..3a6044971b9 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