1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

lavfi/tonemap: make use of AVFILTER_DEFINE_CLASS

use AVFILTER_DEFINE_CLASS for defining the filter classes

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
This commit is contained in:
Jun Zhao
2019-03-05 19:14:33 +08:00
parent 26dbe88ea3
commit 96451477b9

View File

@@ -287,13 +287,7 @@ static const AVOption tonemap_options[] = {
{ NULL } { NULL }
}; };
static const AVClass tonemap_class = { AVFILTER_DEFINE_CLASS(tonemap);
.class_name = "tonemap",
.item_name = av_default_item_name,
.option = tonemap_options,
.version = LIBAVUTIL_VERSION_INT,
.category = AV_CLASS_CATEGORY_FILTER,
};
static const AVFilterPad tonemap_inputs[] = { static const AVFilterPad tonemap_inputs[] = {
{ {