From f25609ff06b093d82548c92fc2031cd2e66c20d3 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 22 Apr 2017 13:12:29 +0200 Subject: [PATCH] doc/examples/filter_audio: const correctness MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit doc/examples/filter_audio.c:168:17: warning: assignment discards ‘const’ qualifier from pointer target type --- doc/examples/filter_audio.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/examples/filter_audio.c b/doc/examples/filter_audio.c index 60fe107dda..458004355f 100644 --- a/doc/examples/filter_audio.c +++ b/doc/examples/filter_audio.c @@ -64,13 +64,13 @@ static int init_filter_graph(AVFilterGraph **graph, AVFilterContext **src, { AVFilterGraph *filter_graph; AVFilterContext *abuffer_ctx; - AVFilter *abuffer; + const AVFilter *abuffer; AVFilterContext *volume_ctx; - AVFilter *volume; + const AVFilter *volume; AVFilterContext *aformat_ctx; - AVFilter *aformat; + const AVFilter *aformat; AVFilterContext *abuffersink_ctx; - AVFilter *abuffersink; + const AVFilter *abuffersink; AVDictionary *options_dict = NULL; uint8_t options_str[1024];