Commit 11cdf967 authored by Paul B Mahol's avatar Paul B Mahol

lavfi/trim: make use of AVFILTER_DEFINE_CLASS

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 68def271
...@@ -188,12 +188,7 @@ static const AVOption trim_options[] = { ...@@ -188,12 +188,7 @@ static const AVOption trim_options[] = {
}; };
#undef FLAGS #undef FLAGS
static const AVClass trim_class = { AVFILTER_DEFINE_CLASS(trim);
.class_name = "trim",
.item_name = av_default_item_name,
.option = trim_options,
.version = LIBAVUTIL_VERSION_INT,
};
static const AVFilterPad trim_inputs[] = { static const AVFilterPad trim_inputs[] = {
{ {
...@@ -350,12 +345,7 @@ static const AVOption atrim_options[] = { ...@@ -350,12 +345,7 @@ static const AVOption atrim_options[] = {
}; };
#undef FLAGS #undef FLAGS
static const AVClass atrim_class = { AVFILTER_DEFINE_CLASS(atrim);
.class_name = "atrim",
.item_name = av_default_item_name,
.option = atrim_options,
.version = LIBAVUTIL_VERSION_INT,
};
static const AVFilterPad atrim_inputs[] = { static const AVFilterPad atrim_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