]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/formats: Remove ff_make_formatu64_list()
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 7 Aug 2020 15:21:58 +0000 (17:21 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 12 Aug 2020 18:47:59 +0000 (20:47 +0200)
It is unused since 8cbb055760c725d0fb99fb759caabb5f4e37e340 and it
actually coincides with avfilter_make_format64_list().

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

index de4315369d50edce85d86304b4a71c4f793cc929..bcc539bb38e7a69bb6b31e5550f87a552cb70387 100644 (file)
@@ -289,17 +289,6 @@ AVFilterFormats *ff_make_format_list(const int *fmts)
     return formats;
 }
 
-AVFilterChannelLayouts *ff_make_formatu64_list(const uint64_t *fmts)
-{
-    MAKE_FORMAT_LIST(AVFilterChannelLayouts,
-                     channel_layouts, nb_channel_layouts);
-    if (count)
-        memcpy(formats->channel_layouts, fmts,
-               sizeof(*formats->channel_layouts) * count);
-
-    return formats;
-}
-
 AVFilterChannelLayouts *avfilter_make_format64_list(const int64_t *fmts)
 {
     MAKE_FORMAT_LIST(AVFilterChannelLayouts,
index cc588f30d864e7b2414d1d24d338c623462fb4f9..708bee3ee80c6f14af99f5941d2c5d34d171d14b 100644 (file)
@@ -141,9 +141,6 @@ AVFilterChannelLayouts *ff_all_channel_counts(void);
 av_warn_unused_result
 AVFilterChannelLayouts *avfilter_make_format64_list(const int64_t *fmts);
 
-av_warn_unused_result
-AVFilterChannelLayouts *ff_make_formatu64_list(const uint64_t *fmts);
-
 
 /**
  * A helper for query_formats() which sets all links to the same list of channel