mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/split: Deduplicate AVClasses
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
c8180c1310
commit
a9f1b3db60
|
@ -94,11 +94,7 @@ static const AVOption options[] = {
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
#define split_options options
|
AVFILTER_DEFINE_CLASS_EXT(split, "(a)split", options);
|
||||||
AVFILTER_DEFINE_CLASS(split);
|
|
||||||
|
|
||||||
#define asplit_options options
|
|
||||||
AVFILTER_DEFINE_CLASS(asplit);
|
|
||||||
|
|
||||||
static const AVFilterPad avfilter_vf_split_inputs[] = {
|
static const AVFilterPad avfilter_vf_split_inputs[] = {
|
||||||
{
|
{
|
||||||
|
@ -130,8 +126,8 @@ static const AVFilterPad avfilter_af_asplit_inputs[] = {
|
||||||
const AVFilter ff_af_asplit = {
|
const AVFilter ff_af_asplit = {
|
||||||
.name = "asplit",
|
.name = "asplit",
|
||||||
.description = NULL_IF_CONFIG_SMALL("Pass on the audio input to N audio outputs."),
|
.description = NULL_IF_CONFIG_SMALL("Pass on the audio input to N audio outputs."),
|
||||||
|
.priv_class = &split_class,
|
||||||
.priv_size = sizeof(SplitContext),
|
.priv_size = sizeof(SplitContext),
|
||||||
.priv_class = &asplit_class,
|
|
||||||
.init = split_init,
|
.init = split_init,
|
||||||
FILTER_INPUTS(avfilter_af_asplit_inputs),
|
FILTER_INPUTS(avfilter_af_asplit_inputs),
|
||||||
.outputs = NULL,
|
.outputs = NULL,
|
||||||
|
|
Loading…
Reference in New Issue