Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_blackdetect.c')
-rw-r--r--libavfilter/vf_blackdetect.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libavfilter/vf_blackdetect.c b/libavfilter/vf_blackdetect.c
index ea45f0522e..909cb377bf 100644
--- a/libavfilter/vf_blackdetect.c
+++ b/libavfilter/vf_blackdetect.c
@@ -57,14 +57,9 @@ static const AVOption blackdetect_options[] = {
{ NULL },
};
-static const char *blackdetect_get_name(void *ctx)
-{
- return "blackdetect";
-}
-
static const AVClass blackdetect_class = {
.class_name = "BlackDetectContext",
- .item_name = blackdetect_get_name,
+ .item_name = avfilter_default_filter_name,
.option = blackdetect_options,
};