You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +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:
@@ -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[] = {
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user