aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-21 03:51:39 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-21 13:01:20 +0200
commit5a7978a694e7cab4684181ca4020caf0ce8cbb06 (patch)
tree080a29a15fcbc74654afe81adad3d771430765e1 /libavfilter/avfilter.c
parent55c35d84eb2bd6a50c24b1904a3e6c01b83804cc (diff)
downloadffmpeg-5a7978a694e7cab4684181ca4020caf0ce8cbb06.tar.gz
avfilter/avfilter: Make ff_command_queue_pop() static
Only used here. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r--libavfilter/avfilter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index f34204e650..cc5505e65b 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -78,7 +78,7 @@ static void tlog_ref(void *ctx, AVFrame *ref, int end)
#endif
}
-void ff_command_queue_pop(AVFilterContext *filter)
+static void command_queue_pop(AVFilterContext *filter)
{
AVFilterCommand *c= filter->command_queue;
av_freep(&c->arg);
@@ -780,7 +780,7 @@ void avfilter_free(AVFilterContext *filter)
av_freep(&filter->outputs);
av_freep(&filter->priv);
while(filter->command_queue){
- ff_command_queue_pop(filter);
+ command_queue_pop(filter);
}
av_opt_free(filter);
av_expr_free(filter->enable);
@@ -1494,7 +1494,7 @@ int ff_inlink_process_commands(AVFilterLink *link, const AVFrame *frame)
"Processing command time:%f command:%s arg:%s\n",
cmd->time, cmd->command, cmd->arg);
avfilter_process_command(link->dst, cmd->command, cmd->arg, 0, 0, cmd->flags);
- ff_command_queue_pop(link->dst);
+ command_queue_pop(link->dst);
cmd= link->dst->command_queue;
}
return 0;