lavfi/trim: make use of AVFILTER_DEFINE_CLASS
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
68def27124
commit
11cdf9671f
1 changed files with 2 additions and 12 deletions
|
|
@ -188,12 +188,7 @@ static const AVOption trim_options[] = {
|
|||
};
|
||||
#undef FLAGS
|
||||
|
||||
static const AVClass trim_class = {
|
||||
.class_name = "trim",
|
||||
.item_name = av_default_item_name,
|
||||
.option = trim_options,
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
AVFILTER_DEFINE_CLASS(trim);
|
||||
|
||||
static const AVFilterPad trim_inputs[] = {
|
||||
{
|
||||
|
|
@ -350,12 +345,7 @@ static const AVOption atrim_options[] = {
|
|||
};
|
||||
#undef FLAGS
|
||||
|
||||
static const AVClass atrim_class = {
|
||||
.class_name = "atrim",
|
||||
.item_name = av_default_item_name,
|
||||
.option = atrim_options,
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
AVFILTER_DEFINE_CLASS(atrim);
|
||||
|
||||
static const AVFilterPad atrim_inputs[] = {
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue