[FFmpeg-cvslog] avfilter/formats: Remove avfilter_make_format64_list()

Andreas Rheinhardt git at videolan.org
Wed Apr 28 00:16:02 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Sat Mar  6 19:06:56 2021 +0100| [930391e5988abe126d29c5e9b09fab459e0b8936] | committer: James Almer

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 <andreas.rheinhardt at gmail.com>
Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=930391e5988abe126d29c5e9b09fab459e0b8936
---

 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



More information about the ffmpeg-cvslog mailing list