summaryrefslogtreecommitdiff
path: root/libavfilter/vf_ass.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_ass.c')
-rw-r--r--libavfilter/vf_ass.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/libavfilter/vf_ass.c b/libavfilter/vf_ass.c
index 638609297a..7c34c48566 100644
--- a/libavfilter/vf_ass.c
+++ b/libavfilter/vf_ass.c
@@ -34,6 +34,7 @@
#include "libavutil/parseutils.h"
#include "drawutils.h"
#include "avfilter.h"
+#include "internal.h"
#include "formats.h"
#include "video.h"
@@ -56,13 +57,7 @@ static const AVOption ass_options[] = {
{NULL},
};
-static const AVClass ass_class = {
- .class_name = "ass",
- .item_name = av_default_item_name,
- .option = ass_options,
- .version = LIBAVUTIL_VERSION_INT,
- .category = AV_CLASS_CATEGORY_FILTER,
-};
+AVFILTER_DEFINE_CLASS(ass);
/* libass supports a log level ranging from 0 to 7 */
int ass_libav_log_level_map[] = {