diff mbox series

[FFmpeg-devel,55/87] avfilter/formats: Remove avfilter_make_format64_list()

Message ID 20210419141024.8174-56-jamrial@gmail.com
State Accepted
Commit 930391e5988abe126d29c5e9b09fab459e0b8936
Headers show
Series Major bump
Related show

Checks

Context Check Description
andriy/configure warning Failed to apply patch
andriy/configure warning Failed to apply patch

Commit Message

James Almer April 19, 2021, 2:09 p.m. UTC
From: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

The API it is part of has been made private long ago (see commit
b74a1da49db5ebed51aceae6cacc2329288a92c1).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavfilter/formats.c | 7 -------
 libavfilter/formats.h | 4 ----
 2 files changed, 11 deletions(-)
diff mbox series

Patch

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