aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-20 05:33:23 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-20 12:09:07 +0200
commit29bf3fafa0c46b6fbb205bc878fd3bcb6aa0d8cb (patch)
treeafd8036e0d53aa9a51f618bb95b2a451c0ed408c /libavfilter
parentd5b3e0403ee2eceac5f38455c0c23fef415bc69c (diff)
downloadffmpeg-29bf3fafa0c46b6fbb205bc878fd3bcb6aa0d8cb.tar.gz
avfilter/avfiltergraph: Don't use AVClass * for logcontext
Forgotten in 57fa314090ab006808911fd790053b534749aa53. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/avfiltergraph.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index 8c6d43a0c7..13c81a5f4a 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -208,7 +208,7 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph,
*
* @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;
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
*/
-static int graph_config_links(AVFilterGraph *graph, AVClass *log_ctx)
+static int graph_config_links(AVFilterGraph *graph, void *log_ctx)
{
AVFilterContext *filt;
int i, ret;
@@ -263,7 +263,7 @@ static int graph_config_links(AVFilterGraph *graph, AVClass *log_ctx)
return 0;
}
-static int graph_check_links(AVFilterGraph *graph, AVClass *log_ctx)
+static int graph_check_links(AVFilterGraph *graph, void *log_ctx)
{
AVFilterContext *f;
AVFilterLink *l;
@@ -427,7 +427,7 @@ static int formats_declared(AVFilterContext *f)
* was made and the negotiation is stuck;
* 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 converter_count = 0;
@@ -1107,7 +1107,7 @@ static int pick_formats(AVFilterGraph *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;
@@ -1135,8 +1135,7 @@ static int graph_config_formats(AVFilterGraph *graph, AVClass *log_ctx)
return 0;
}
-static int graph_config_pointers(AVFilterGraph *graph,
- AVClass *log_ctx)
+static int graph_config_pointers(AVFilterGraph *graph, void *log_ctx)
{
unsigned i, j;
int sink_links_count = 0, n = 0;