diff options
author | Diego Biurrun <diego@biurrun.de> | 2017-04-22 13:12:29 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2017-04-24 16:10:05 +0200 |
commit | f25609ff06b093d82548c92fc2031cd2e66c20d3 (patch) | |
tree | e8a6c1956f3434b43bd5eedc213ac411fd103863 /doc | |
parent | 0fd0d4fd0a518e30ff23972828ad7cf7f35cfb9d (diff) | |
download | ffmpeg-streaming-f25609ff06b093d82548c92fc2031cd2e66c20d3.zip ffmpeg-streaming-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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/filter_audio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/examples/filter_audio.c b/doc/examples/filter_audio.c index 60fe107..4580043 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]; |