aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/setpts.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-05-27 11:14:43 +0000
committerPaul B Mahol <onemda@gmail.com>2013-05-27 11:14:43 +0000
commite457f2cf1ff106ee0689ec9b4516bf3afc38c30c (patch)
tree81f92286004893e30239b3b0ad4b700351e807b2 /libavfilter/setpts.c
parent5fe5bde60a88db19d20adc16888dd3812c348f15 (diff)
downloadffmpeg-e457f2cf1ff106ee0689ec9b4516bf3afc38c30c.tar.gz
lavfi/setpts: make use of AVFILTER_DEFINE_CLASS
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/setpts.c')
-rw-r--r--libavfilter/setpts.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/libavfilter/setpts.c b/libavfilter/setpts.c
index 97f2621bf3..3dd4e6a07d 100644
--- a/libavfilter/setpts.c
+++ b/libavfilter/setpts.c
@@ -225,12 +225,8 @@ static const AVOption options[] = {
};
#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[] = {
{
@@ -267,12 +263,8 @@ AVFilter avfilter_vf_setpts = {
#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[] = {
{