Commit e457f2cf authored by Paul B Mahol's avatar Paul B Mahol

lavfi/setpts: make use of AVFILTER_DEFINE_CLASS

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 5fe5bde6
...@@ -225,12 +225,8 @@ static const AVOption options[] = { ...@@ -225,12 +225,8 @@ static const AVOption options[] = {
}; };
#if CONFIG_SETPTS_FILTER #if CONFIG_SETPTS_FILTER
static const AVClass setpts_class = { #define setpts_options options
.class_name = "setpts", AVFILTER_DEFINE_CLASS(setpts);
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
static const AVFilterPad avfilter_vf_setpts_inputs[] = { static const AVFilterPad avfilter_vf_setpts_inputs[] = {
{ {
...@@ -267,12 +263,8 @@ AVFilter avfilter_vf_setpts = { ...@@ -267,12 +263,8 @@ AVFilter avfilter_vf_setpts = {
#if CONFIG_ASETPTS_FILTER #if CONFIG_ASETPTS_FILTER
static const AVClass asetpts_class = { #define asetpts_options options
.class_name = "asetpts", AVFILTER_DEFINE_CLASS(asetpts);
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
static const AVFilterPad asetpts_inputs[] = { static const AVFilterPad asetpts_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