From 3c14547eb75c5b18099060085d12f09518ee2732 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Tue, 24 Oct 2017 22:32:59 +0200 Subject: [PATCH] lavfi/tests/filtfmts: Constify a variable. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes the following warning: libavfilter/tests/filtfmts.c: In function ‘main’: libavfilter/tests/filtfmts.c:103:18: warning: assignment discards ‘const’ qualifier from pointer target type --- libavfilter/tests/filtfmts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/tests/filtfmts.c b/libavfilter/tests/filtfmts.c index 199d74d7a9..72b860ae5b 100644 --- a/libavfilter/tests/filtfmts.c +++ b/libavfilter/tests/filtfmts.c @@ -73,7 +73,7 @@ static void print_formats(AVFilterContext *filter_ctx) int main(int argc, char **argv) { - AVFilter *filter; + const AVFilter *filter; AVFilterContext *filter_ctx; AVFilterGraph *graph_ctx; const char *filter_name;