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/af_silencedetect.c')
-rw-r--r--libavfilter/af_silencedetect.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libavfilter/af_silencedetect.c b/libavfilter/af_silencedetect.c
index 76001ce1d9..b8057e4393 100644
--- a/libavfilter/af_silencedetect.c
+++ b/libavfilter/af_silencedetect.c
@@ -48,14 +48,9 @@ static const AVOption silencedetect_options[] = {
{ NULL },
};
-static const char *silencedetect_get_name(void *ctx)
-{
- return "silencedetect";
-}
-
static const AVClass silencedetect_class = {
.class_name = "SilenceDetectContext",
- .item_name = silencedetect_get_name,
+ .item_name = avfilter_default_filter_name,
.option = silencedetect_options,
};