aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-04-22 13:12:29 +0200
committerDiego Biurrun <diego@biurrun.de>2017-04-24 16:10:05 +0200
commitf25609ff06b093d82548c92fc2031cd2e66c20d3 (patch)
treee8a6c1956f3434b43bd5eedc213ac411fd103863
parent0fd0d4fd0a518e30ff23972828ad7cf7f35cfb9d (diff)
downloadffmpeg-f25609ff06b093d82548c92fc2031cd2e66c20d3.tar.gz
doc/examples/filter_audio: const correctness
doc/examples/filter_audio.c:168:17: warning: assignment discards ‘const’ qualifier from pointer target type
-rw-r--r--doc/examples/filter_audio.c8
1 files 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];