mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
lavfi/split: use AVFILTER_DEFINE_CLASS to define class
This commit is contained in:
parent
bec402b502
commit
ba32afd70e
1 changed files with 4 additions and 12 deletions
|
|
@ -97,19 +97,11 @@ static const AVOption options[] = {
|
|||
{ NULL },
|
||||
};
|
||||
|
||||
static const AVClass split_class = {
|
||||
.class_name = "split",
|
||||
.item_name = av_default_item_name,
|
||||
.option = options,
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
#define split_options options
|
||||
AVFILTER_DEFINE_CLASS(split);
|
||||
|
||||
static const AVClass asplit_class = {
|
||||
.class_name = "asplit",
|
||||
.item_name = av_default_item_name,
|
||||
.option = options,
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
#define asplit_options options
|
||||
AVFILTER_DEFINE_CLASS(asplit);
|
||||
|
||||
static const AVFilterPad avfilter_vf_split_inputs[] = {
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue