diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-04-21 13:39:06 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-04-21 17:27:32 +0200 |
commit | df766673e57753bcc2e3877e15971275820c069f (patch) | |
tree | 6e6fdbf43f91b04f6b1540df7c8487c3da723d59 /libavfilter | |
parent | 5e893df7ae15a536b4bb5b35647c1d8b14b348e3 (diff) | |
download | ffmpeg-df766673e57753bcc2e3877e15971275820c069f.tar.gz |
lavfi/sendcmd: drop now pointless sendcmd/asendcmd_init() wrappers
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/f_sendcmd.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/libavfilter/f_sendcmd.c b/libavfilter/f_sendcmd.c index 2fe5eb8ab0..319d503361 100644 --- a/libavfilter/f_sendcmd.c +++ b/libavfilter/f_sendcmd.c @@ -510,11 +510,6 @@ end: #define sendcmd_options options AVFILTER_DEFINE_CLASS(sendcmd); -static av_cold int sendcmd_init(AVFilterContext *ctx) -{ - return init(ctx); -} - static const AVFilterPad sendcmd_inputs[] = { { .name = "default", @@ -536,8 +531,7 @@ static const AVFilterPad sendcmd_outputs[] = { AVFilter avfilter_vf_sendcmd = { .name = "sendcmd", .description = NULL_IF_CONFIG_SMALL("Send commands to filters."), - - .init = sendcmd_init, + .init = init, .uninit = uninit, .priv_size = sizeof(SendCmdContext), .inputs = sendcmd_inputs, @@ -552,11 +546,6 @@ AVFilter avfilter_vf_sendcmd = { #define asendcmd_options options AVFILTER_DEFINE_CLASS(asendcmd); -static av_cold int asendcmd_init(AVFilterContext *ctx) -{ - return init(ctx); -} - static const AVFilterPad asendcmd_inputs[] = { { .name = "default", @@ -578,8 +567,7 @@ static const AVFilterPad asendcmd_outputs[] = { AVFilter avfilter_af_asendcmd = { .name = "asendcmd", .description = NULL_IF_CONFIG_SMALL("Send commands to filters."), - - .init = asendcmd_init, + .init = init, .uninit = uninit, .priv_size = sizeof(SendCmdContext), .inputs = asendcmd_inputs, |