Commit df766673 authored by Stefano Sabatini's avatar Stefano Sabatini

lavfi/sendcmd: drop now pointless sendcmd/asendcmd_init() wrappers

parent 5e893df7
...@@ -510,11 +510,6 @@ end: ...@@ -510,11 +510,6 @@ end:
#define sendcmd_options options #define sendcmd_options options
AVFILTER_DEFINE_CLASS(sendcmd); AVFILTER_DEFINE_CLASS(sendcmd);
static av_cold int sendcmd_init(AVFilterContext *ctx)
{
return init(ctx);
}
static const AVFilterPad sendcmd_inputs[] = { static const AVFilterPad sendcmd_inputs[] = {
{ {
.name = "default", .name = "default",
...@@ -536,8 +531,7 @@ static const AVFilterPad sendcmd_outputs[] = { ...@@ -536,8 +531,7 @@ static const AVFilterPad sendcmd_outputs[] = {
AVFilter avfilter_vf_sendcmd = { AVFilter avfilter_vf_sendcmd = {
.name = "sendcmd", .name = "sendcmd",
.description = NULL_IF_CONFIG_SMALL("Send commands to filters."), .description = NULL_IF_CONFIG_SMALL("Send commands to filters."),
.init = init,
.init = sendcmd_init,
.uninit = uninit, .uninit = uninit,
.priv_size = sizeof(SendCmdContext), .priv_size = sizeof(SendCmdContext),
.inputs = sendcmd_inputs, .inputs = sendcmd_inputs,
...@@ -552,11 +546,6 @@ AVFilter avfilter_vf_sendcmd = { ...@@ -552,11 +546,6 @@ AVFilter avfilter_vf_sendcmd = {
#define asendcmd_options options #define asendcmd_options options
AVFILTER_DEFINE_CLASS(asendcmd); AVFILTER_DEFINE_CLASS(asendcmd);
static av_cold int asendcmd_init(AVFilterContext *ctx)
{
return init(ctx);
}
static const AVFilterPad asendcmd_inputs[] = { static const AVFilterPad asendcmd_inputs[] = {
{ {
.name = "default", .name = "default",
...@@ -578,8 +567,7 @@ static const AVFilterPad asendcmd_outputs[] = { ...@@ -578,8 +567,7 @@ static const AVFilterPad asendcmd_outputs[] = {
AVFilter avfilter_af_asendcmd = { AVFilter avfilter_af_asendcmd = {
.name = "asendcmd", .name = "asendcmd",
.description = NULL_IF_CONFIG_SMALL("Send commands to filters."), .description = NULL_IF_CONFIG_SMALL("Send commands to filters."),
.init = init,
.init = asendcmd_init,
.uninit = uninit, .uninit = uninit,
.priv_size = sizeof(SendCmdContext), .priv_size = sizeof(SendCmdContext),
.inputs = asendcmd_inputs, .inputs = asendcmd_inputs,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment