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

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
289289 return formats;
290290 }
291291
292−AVFilterChannelLayouts *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−
303292 AVFilterChannelLayouts *avfilter_make_format64_list(const int64_t *fmts)
304293 {
305294 MAKE_FORMAT_LIST(AVFilterChannelLayouts,
libavfilter/formats.h+0−3
@@ -141,9 +141,6 @@ AVFilterChannelLayouts *ff_all_channel_counts(void); · 140 unmodified lines
141141 av_warn_unused_result
142142 AVFilterChannelLayouts *avfilter_make_format64_list(const int64_t *fmts);
143143
144−av_warn_unused_result
145−AVFilterChannelLayouts *ff_make_formatu64_list(const uint64_t *fmts);
146−
147144
148145 /**
149146 * 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