From a04ad248a05e7b613abe09b3bb067f555108d794 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 19 Apr 2021 18:33:56 +0200 Subject: avfilter: Constify all AVFilters This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt Signed-off-by: James Almer --- libavfilter/vf_subtitles.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavfilter/vf_subtitles.c') diff --git a/libavfilter/vf_subtitles.c b/libavfilter/vf_subtitles.c index de74afa2b7..493eb5f424 100644 --- a/libavfilter/vf_subtitles.c +++ b/libavfilter/vf_subtitles.c @@ -246,7 +246,7 @@ static av_cold int init_ass(AVFilterContext *ctx) return 0; } -AVFilter ff_vf_ass = { +const AVFilter ff_vf_ass = { .name = "ass", .description = NULL_IF_CONFIG_SMALL("Render ASS subtitles onto input video using the libass library."), .priv_size = sizeof(AssContext), @@ -480,7 +480,7 @@ end: return ret; } -AVFilter ff_vf_subtitles = { +const AVFilter ff_vf_subtitles = { .name = "subtitles", .description = NULL_IF_CONFIG_SMALL("Render text subtitles onto input video using the libass library."), .priv_size = sizeof(AssContext), -- cgit v1.2.3