1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

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

Forgotten in 57fa314090.

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2021-08-20 05:33:23 +02:00
parent d5b3e0403e
commit 29bf3fafa0

View File

@ -208,7 +208,7 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph,
* *
* @return >= 0 in case of success, a negative value otherwise * @return >= 0 in case of success, a negative value otherwise
*/ */
static int graph_check_validity(AVFilterGraph *graph, AVClass *log_ctx) static int graph_check_validity(AVFilterGraph *graph, void *log_ctx)
{ {
AVFilterContext *filt; AVFilterContext *filt;
int i, j; int i, j;
@ -246,7 +246,7 @@ static int graph_check_validity(AVFilterGraph *graph, AVClass *log_ctx)
* *
* @return >= 0 in case of success, a negative value otherwise * @return >= 0 in case of success, a negative value otherwise
*/ */
static int graph_config_links(AVFilterGraph *graph, AVClass *log_ctx) static int graph_config_links(AVFilterGraph *graph, void *log_ctx)
{ {
AVFilterContext *filt; AVFilterContext *filt;
int i, ret; int i, ret;
@ -263,7 +263,7 @@ static int graph_config_links(AVFilterGraph *graph, AVClass *log_ctx)
return 0; return 0;
} }
static int graph_check_links(AVFilterGraph *graph, AVClass *log_ctx) static int graph_check_links(AVFilterGraph *graph, void *log_ctx)
{ {
AVFilterContext *f; AVFilterContext *f;
AVFilterLink *l; AVFilterLink *l;
@ -427,7 +427,7 @@ static int formats_declared(AVFilterContext *f)
* was made and the negotiation is stuck; * was made and the negotiation is stuck;
* a negative error code if some other error happened * a negative error code if some other error happened
*/ */
static int query_formats(AVFilterGraph *graph, AVClass *log_ctx) static int query_formats(AVFilterGraph *graph, void *log_ctx)
{ {
int i, j, ret; int i, j, ret;
int converter_count = 0; int converter_count = 0;
@ -1107,7 +1107,7 @@ static int pick_formats(AVFilterGraph *graph)
/** /**
* Configure the formats of all the links in the graph. * Configure the formats of all the links in the graph.
*/ */
static int graph_config_formats(AVFilterGraph *graph, AVClass *log_ctx) static int graph_config_formats(AVFilterGraph *graph, void *log_ctx)
{ {
int ret; int ret;
@ -1135,8 +1135,7 @@ static int graph_config_formats(AVFilterGraph *graph, AVClass *log_ctx)
return 0; return 0;
} }
static int graph_config_pointers(AVFilterGraph *graph, static int graph_config_pointers(AVFilterGraph *graph, void *log_ctx)
AVClass *log_ctx)
{ {
unsigned i, j; unsigned i, j;
int sink_links_count = 0, n = 0; int sink_links_count = 0, n = 0;