Browse Source

lavfi/setpts: make use of AVFILTER_DEFINE_CLASS

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.0
Paul B Mahol 12 years ago
parent
commit
e457f2cf1f
1 changed files with 4 additions and 12 deletions
  1. +4
    -12
      libavfilter/setpts.c

+ 4
- 12
libavfilter/setpts.c View File

@@ -225,12 +225,8 @@ static const AVOption options[] = {
}; };


#if CONFIG_SETPTS_FILTER #if CONFIG_SETPTS_FILTER
static const AVClass setpts_class = {
.class_name = "setpts",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
#define setpts_options options
AVFILTER_DEFINE_CLASS(setpts);


static const AVFilterPad avfilter_vf_setpts_inputs[] = { static const AVFilterPad avfilter_vf_setpts_inputs[] = {
{ {
@@ -267,12 +263,8 @@ AVFilter avfilter_vf_setpts = {


#if CONFIG_ASETPTS_FILTER #if CONFIG_ASETPTS_FILTER


static const AVClass asetpts_class = {
.class_name = "asetpts",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
#define asetpts_options options
AVFILTER_DEFINE_CLASS(asetpts);


static const AVFilterPad asetpts_inputs[] = { static const AVFilterPad asetpts_inputs[] = {
{ {


Loading…
Cancel
Save