Require "void *" rather than "AVClass *" for the log context type.
Showing the changes to libavfilter/avfiltergraph.h (1 of 4 files). Show all
Unified · Split
| @@ -76,7 +76,7 @@ int avfilter_graph_create_filter(AVFilterContext **filt_ctx, AVFilter *filt, · 75 unmodified lines | |||
| 76 | * @param log_ctx context used for logging | 76 | * @param log_ctx context used for logging |
| 77 | * @return 0 in case of success, a negative AVERROR code otherwise | 77 | * @return 0 in case of success, a negative AVERROR code otherwise |
| 78 | */ | 78 | */ |
| 79 | int avfilter_graph_config(AVFilterGraph *graphctx, AVClass *log_ctx); | 79 | int avfilter_graph_config(AVFilterGraph *graphctx, void *log_ctx); |
| 80 | 80 | ||
| 81 | /** | 81 | /** |
| 82 | * Free a graph, destroy its links, and set *graph to NULL. | 82 | * Free a graph, destroy its links, and set *graph to NULL. |
| @@ -118,6 +118,6 @@ typedef struct AVFilterInOut { · 35 unmodified lines | |||
| 118 | */ | 118 | */ |
| 119 | int avfilter_graph_parse(AVFilterGraph *graph, const char *filters, | 119 | int avfilter_graph_parse(AVFilterGraph *graph, const char *filters, |
| 120 | AVFilterInOut *inputs, AVFilterInOut *outputs, | 120 | AVFilterInOut *inputs, AVFilterInOut *outputs, |
| 121 | AVClass *log_ctx); | 121 | void *log_ctx); |
| 122 | 122 | ||
| 123 | #endif /* AVFILTER_AVFILTERGRAPH_H */ | 123 | #endif /* AVFILTER_AVFILTERGRAPH_H */ |