Skip to content

Commit

Permalink
avfilter/formats: Remove ff_make_formatu64_list()
Browse files Browse the repository at this point in the history
It is unused since 8cbb055 and it
actually coincides with avfilter_make_format64_list().

Signed-off-by: Andreas Rheinhardt <[email protected]>
  • Loading branch information
mkver committed Aug 12, 2020
1 parent b40dd2f commit efbe58c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
11 changes: 0 additions & 11 deletions libavfilter/formats.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 0 additions & 3 deletions libavfilter/formats.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit efbe58c

Please sign in to comment.