[SCM] libav/experimental: Make two variables const

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:21:21 UTC 2013


The following commit has been merged in the experimental branch:
commit 03cea461944cf1db0f8efb6fb4c28ec0e280885e
Author: Vitor Sessak <vitor1001 at gmail.com>
Date:   Sat May 24 20:39:45 2008 +0000

    Make two variables const
    
    Commited in SoC by Vitor Sessak on 2008-04-10 21:06:35
    
    Originally committed as revision 13305 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 76ceacc..5b3a546 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -42,7 +42,7 @@ static const AVClass filter_parser_class = {
 static const AVClass *log_ctx = &filter_parser_class;
 
 static AVFilterContext *create_filter(AVFilterGraph *ctx, int index,
-                                      char *name, char *args)
+                                      const char *name, const char *args)
 {
     AVFilterContext *filt;
 
diff --git a/libavfilter/graphparser.h b/libavfilter/graphparser.h
index 7dda160..278095e 100644
--- a/libavfilter/graphparser.h
+++ b/libavfilter/graphparser.h
@@ -31,8 +31,8 @@
  * @param filters string to be parsed
  * @param in      input to the graph to be parsed (TODO: allow several)
  * @param inpad   pad index of the input
- * @param in      output to the graph to be parsed (TODO: allow several)
- * @param inpad   pad index of the output
+ * @param out     output to the graph to be parsed (TODO: allow several)
+ * @param outpad  pad index of the output
  * @return        zero on success, -1 on error
  */
 int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, AVFilterContext *in, int inpad, AVFilterContext *out, int outpad);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list