History

avfilter/avfiltergraph: Remove unused macro parameter

Andreas Rheinhardt committed 6 years ago

Commit eaa6c081 parent e013a711 file · +3 −3Browse files

Showing the changes to libavfilter/avfiltergraph.c (1 of 1 file). Show all

Unified · Split

libavfilter/avfiltergraph.c+3−3
@@ -687,7 +687,7 @@ static int pick_format(AVFilterLink *link, AVFilterLink *ref) · 686 unmodified lines
687687 return 0;
688688 }
689689
690−#define REDUCE_FORMATS(fmt_type, list_type, list, var, nb, add_format, unref_format) \
690+#define REDUCE_FORMATS(fmt_type, list_type, list, var, nb, add_format) \
691691 do { \
692692 for (i = 0; i < filter->nb_inputs; i++) { \
693693 AVFilterLink *link = filter->inputs[i]; \
@@ -729,9 +729,9 @@ static int reduce_formats_on_filter(AVFilterContext *filter) · 35 unmodified lines
729729 int i, j, k, ret = 0;
730730
731731 REDUCE_FORMATS(int, AVFilterFormats, formats, formats,
732− nb_formats, ff_add_format, ff_formats_unref);
732+ nb_formats, ff_add_format);
733733 REDUCE_FORMATS(int, AVFilterFormats, samplerates, formats,
734− nb_formats, ff_add_format, ff_formats_unref);
734+ nb_formats, ff_add_format);
735735
736736 /* reduce channel layouts */
737737 for (i = 0; i < filter->nb_inputs; i++) {

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