]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/formats: Remove avfilter_make_format64_list()
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 6 Mar 2021 18:06:56 +0000 (19:06 +0100)
committerJames Almer <jamrial@gmail.com>
Tue, 27 Apr 2021 13:43:11 +0000 (10:43 -0300)
The API it is part of has been made private long ago (see commit
b74a1da49db5ebed51aceae6cacc2329288a92c1).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavfilter/formats.c
libavfilter/formats.h

index 713173e7070a506ad4d8bc9d43ce36ae4c725c50..6c05b118c9c5b4cc20229c3330d072f6e3b4a1f2 100644 (file)
@@ -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;                                             \
index 0520bf42a94c8d81c010edb4ea7c2b18af746565..3a6044971b90653a4679cf9758d2fccf4ce22572 100644 (file)
@@ -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