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
208 *208 *
209 * @return >= 0 in case of success, a negative value otherwise209 * @return >= 0 in case of success, a negative value otherwise
210 */210 */
211static int graph_check_validity(AVFilterGraph *graph, AVClass *log_ctx)211static int graph_check_validity(AVFilterGraph *graph, void *log_ctx)
212{212{
213 AVFilterContext *filt;213 AVFilterContext *filt;
214 int i, j;214 int i, j;
@@ -246,7 +246,7 @@ static int graph_check_validity(AVFilterGraph *graph, AVClass *log_ctx) · 31 unmodified lines
246 *246 *
247 * @return >= 0 in case of success, a negative value otherwise247 * @return >= 0 in case of success, a negative value otherwise
248 */248 */
249static int graph_config_links(AVFilterGraph *graph, AVClass *log_ctx)249static int graph_config_links(AVFilterGraph *graph, void *log_ctx)
250{250{
251 AVFilterContext *filt;251 AVFilterContext *filt;
252 int i, ret;252 int i, ret;
@@ -263,7 +263,7 @@ static int graph_config_links(AVFilterGraph *graph, AVClass *log_ctx) · 10 unmodified lines
263 return 0;263 return 0;
264}264}
265 265
266static int graph_check_links(AVFilterGraph *graph, AVClass *log_ctx)266static int graph_check_links(AVFilterGraph *graph, void *log_ctx)
267{267{
268 AVFilterContext *f;268 AVFilterContext *f;
269 AVFilterLink *l;269 AVFilterLink *l;
@@ -427,7 +427,7 @@ static int formats_declared(AVFilterContext *f) · 157 unmodified lines
427 * was made and the negotiation is stuck;427 * was made and the negotiation is stuck;
428 * a negative error code if some other error happened428 * a negative error code if some other error happened
429 */429 */
430static int query_formats(AVFilterGraph *graph, AVClass *log_ctx)430static int query_formats(AVFilterGraph *graph, void *log_ctx)
431{431{
432 int i, j, ret;432 int i, j, ret;
433 int converter_count = 0;433 int converter_count = 0;
@@ -1107,7 +1107,7 @@ static int pick_formats(AVFilterGraph *graph) · 673 unmodified lines
1107/**1107/**
1108 * Configure the formats of all the links in the graph.1108 * Configure the formats of all the links in the graph.
1109 */1109 */
1110static int graph_config_formats(AVFilterGraph *graph, AVClass *log_ctx)1110static int graph_config_formats(AVFilterGraph *graph, void *log_ctx)
1111{1111{
1112 int ret;1112 int ret;
1113 1113
@@ -1135,8 +1135,7 @@ static int graph_config_formats(AVFilterGraph *graph, AVClass *log_ctx) · 21 unmodified lines
1135 return 0;1135 return 0;
1136}1136}
1137 1137
1138static int graph_config_pointers(AVFilterGraph *graph,1138static int graph_config_pointers(AVFilterGraph *graph, void *log_ctx)
1139 AVClass *log_ctx)
1140{1139{
1141 unsigned i, j;1140 unsigned i, j;
1142 int sink_links_count = 0, n = 0;1141 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