[FFmpeg-devel] [PATCH 55/87] avfilter/formats: Remove avfilter_make_format64_list()
James Almer
jamrial at gmail.com
Mon Apr 19 17:09:52 EEST 2021
From: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
The API it is part of has been made private long ago (see commit
b74a1da49db5ebed51aceae6cacc2329288a92c1).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
libavfilter/formats.c | 7 -------
libavfilter/formats.h | 4 ----
2 files changed, 11 deletions(-)
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
--
2.31.1
More information about the ffmpeg-devel
mailing list