Merge commit 'f25609ff06b093d82548c92fc2031cd2e66c20d3'
authorJames Almer <jamrial@gmail.com>
Mon, 30 Oct 2017 16:20:30 +0000 (13:20 -0300)
committerJames Almer <jamrial@gmail.com>
Mon, 30 Oct 2017 16:20:30 +0000 (13:20 -0300)
* commit 'f25609ff06b093d82548c92fc2031cd2e66c20d3':
  doc/examples/filter_audio: const correctness

Merged-by: James Almer <jamrial@gmail.com>
doc/examples/filter_audio.c

index 01761dc..7467c21 100644 (file)
@@ -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];