History

avfilter/avfiltergraph: Don't use AVClass * for logcontext

Forgotten in 57fa314090ab006808911fd790053b534749aa53.

Andreas Rheinhardt committed 5 years ago

Commit 29bf3fa1 parent d5b3e041 file · +6 −7Browse files

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

Unified · Split

libavfilter/avfiltergraph.c+6−7
@@ -208,7 +208,7 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph, · 207 unmodified lines
208208 *
209209 * @return >= 0 in case of success, a negative value otherwise
210210 */
211−static int graph_check_validity(AVFilterGraph *graph, AVClass *log_ctx)
211+static int graph_check_validity(AVFilterGraph *graph, void *log_ctx)
212212 {
213213 AVFilterContext *filt;
214214 int i, j;
@@ -246,7 +246,7 @@ static int graph_check_validity(AVFilterGraph *graph, AVClass *log_ctx) · 31 unmodified lines
246246 *
247247 * @return >= 0 in case of success, a negative value otherwise
248248 */
249−static int graph_config_links(AVFilterGraph *graph, AVClass *log_ctx)
249+static int graph_config_links(AVFilterGraph *graph, void *log_ctx)
250250 {
251251 AVFilterContext *filt;
252252 int i, ret;
@@ -263,7 +263,7 @@ static int graph_config_links(AVFilterGraph *graph, AVClass *log_ctx) · 10 unmodified lines
263263 return 0;
264264 }
265265
266−static int graph_check_links(AVFilterGraph *graph, AVClass *log_ctx)
266+static int graph_check_links(AVFilterGraph *graph, void *log_ctx)
267267 {
268268 AVFilterContext *f;
269269 AVFilterLink *l;
@@ -427,7 +427,7 @@ static int formats_declared(AVFilterContext *f) · 157 unmodified lines
427427 * was made and the negotiation is stuck;
428428 * a negative error code if some other error happened
429429 */
430−static int query_formats(AVFilterGraph *graph, AVClass *log_ctx)
430+static int query_formats(AVFilterGraph *graph, void *log_ctx)
431431 {
432432 int i, j, ret;
433433 int converter_count = 0;
@@ -1107,7 +1107,7 @@ static int pick_formats(AVFilterGraph *graph) · 673 unmodified lines
11071107 /**
11081108 * Configure the formats of all the links in the graph.
11091109 */
1110−static int graph_config_formats(AVFilterGraph *graph, AVClass *log_ctx)
1110+static int graph_config_formats(AVFilterGraph *graph, void *log_ctx)
11111111 {
11121112 int ret;
11131113
@@ -1135,8 +1135,7 @@ static int graph_config_formats(AVFilterGraph *graph, AVClass *log_ctx) · 21 unmodified lines
11351135 return 0;
11361136 }
11371137
1138−static int graph_config_pointers(AVFilterGraph *graph,
1139− AVClass *log_ctx)
1138+static int graph_config_pointers(AVFilterGraph *graph, void *log_ctx)
11401139 {
11411140 unsigned i, j;
11421141 int sink_links_count = 0, n = 0;

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