summaryrefslogtreecommitdiff
path: root/libavfilter/vsrc_mptestsrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vsrc_mptestsrc.c')
-rw-r--r--libavfilter/vsrc_mptestsrc.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libavfilter/vsrc_mptestsrc.c b/libavfilter/vsrc_mptestsrc.c
index 3043204d2f..c7521dfd22 100644
--- a/libavfilter/vsrc_mptestsrc.c
+++ b/libavfilter/vsrc_mptestsrc.c
@@ -82,14 +82,9 @@ static const AVOption mptestsrc_options[]= {
{ NULL },
};
-static const char *mptestsrc_get_name(void *ctx)
-{
- return "mptestsrc";
-}
-
static const AVClass mptestsrc_class = {
"MPTestContext",
- mptestsrc_get_name,
+ avfilter_default_filter_name,
mptestsrc_options
};