History

avfilter/formats: Remove ff_make_formatu64_list()

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

Andreas Rheinhardt committed 6 years ago

Commit efbe58c1 parent b40dd2f2 files · +0 −14Browse files

Showing the changes to libavfilter (2 of 2 files). Show all

Unified · Split

2 files
  1. libavfilter/formats.c +0 −11
  2. libavfilter/formats.h +0 −3
libavfilter/formats.c+0−11
@@ -289,17 +289,6 @@ AVFilterFormats *ff_make_format_list(const int *fmts) · 288 unmodified lines
289 return formats;289 return formats;
290}290}
291 291
292AVFilterChannelLayouts *ff_make_formatu64_list(const uint64_t *fmts)
293{
294 MAKE_FORMAT_LIST(AVFilterChannelLayouts,
295 channel_layouts, nb_channel_layouts);
296 if (count)
297 memcpy(formats->channel_layouts, fmts,
298 sizeof(*formats->channel_layouts) * count);
299
300 return formats;
301}
302
303AVFilterChannelLayouts *avfilter_make_format64_list(const int64_t *fmts)292AVFilterChannelLayouts *avfilter_make_format64_list(const int64_t *fmts)
304{293{
305 MAKE_FORMAT_LIST(AVFilterChannelLayouts,294 MAKE_FORMAT_LIST(AVFilterChannelLayouts,
libavfilter/formats.h+0−3
@@ -141,9 +141,6 @@ AVFilterChannelLayouts *ff_all_channel_counts(void); · 140 unmodified lines
141av_warn_unused_result141av_warn_unused_result
142AVFilterChannelLayouts *avfilter_make_format64_list(const int64_t *fmts);142AVFilterChannelLayouts *avfilter_make_format64_list(const int64_t *fmts);
143 143
144av_warn_unused_result
145AVFilterChannelLayouts *ff_make_formatu64_list(const uint64_t *fmts);
146
147 144
148/**145/**
149 * A helper for query_formats() which sets all links to the same list of channel146 * A helper for query_formats() which sets all links to the same list of channel

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t