summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-05-24 20:39:45 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-05-24 20:39:45 +0000
commit03cea461944cf1db0f8efb6fb4c28ec0e280885e (patch)
treecfe2e2f023eabefc77a6dbb976c98162d74c7012
parent22260824c0444894e6e10e428907e4b0ca041c65 (diff)
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
-rw-r--r--libavfilter/graphparser.c2
-rw-r--r--libavfilter/graphparser.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 76ceacc547..5b3a5464c2 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 7dda160cd5..278095e940 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);