From 03cea461944cf1db0f8efb6fb4c28ec0e280885e Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Sat, 24 May 2008 20:39:45 +0000 Subject: [PATCH] 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 --- libavfilter/graphparser.c | 2 +- libavfilter/graphparser.h | 4 ++-- 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);