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);