summaryrefslogtreecommitdiff
path: root/libavfilter/vf_cover_rect.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-07-02 09:49:26 +0000
committerPaul B Mahol <onemda@gmail.com>2015-07-02 15:36:00 +0000
commit7ff5a345a46eb76c6acfb9368a1eaec5688b3221 (patch)
tree63e6fec949db6b9f47f5f31d548c3b9c6f961cfc /libavfilter/vf_cover_rect.c
parent6e5864ab294c45814e6d417546f885a0c7dfb7cc (diff)
downloadffmpeg-7ff5a345a46eb76c6acfb9368a1eaec5688b3221.tar.gz
avfilter: use AVFILTER_DEFINE_CLASS()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_cover_rect.c')
-rw-r--r--libavfilter/vf_cover_rect.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libavfilter/vf_cover_rect.c b/libavfilter/vf_cover_rect.c
index c2020bb392..5086a24faa 100644
--- a/libavfilter/vf_cover_rect.c
+++ b/libavfilter/vf_cover_rect.c
@@ -53,13 +53,7 @@ static const AVOption cover_rect_options[] = {
{ NULL }
};
-static const AVClass cover_rect_class = {
- .class_name = "cover_rect",
- .item_name = av_default_item_name,
- .option = cover_rect_options,
- .version = LIBAVUTIL_VERSION_INT,
- .category = AV_CLASS_CATEGORY_FILTER,
-};
+AVFILTER_DEFINE_CLASS(cover_rect);
static int query_formats(AVFilterContext *ctx)
{