avfilter/formats: Remove ff_make_formatu64_list()

It is unused since 8cbb055760 and it
actually coincides with avfilter_make_format64_list().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
pull/346/head
Andreas Rheinhardt 5 years ago
parent b40dd2fdab
commit efbe58ceb6
  1. 11
      libavfilter/formats.c
  2. 3
      libavfilter/formats.h

@ -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,

@ -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

Loading…
Cancel
Save