History

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

Vitor Sessak committed 18 years ago

Commit 03cea461 parent 22260822 files · +3 −3Browse files

Unified · Split

2 files
  1. libavfilter/graphparser.c +1 −1
  2. libavfilter/graphparser.h +2 −2
libavfilter/graphparser.c+1−1
@@ -42,7 +42,7 @@ static const AVClass filter_parser_class = { · 41 unmodified lines
4242 static const AVClass *log_ctx = &filter_parser_class;
4343
4444 static AVFilterContext *create_filter(AVFilterGraph *ctx, int index,
45− char *name, char *args)
45+ const char *name, const char *args)
4646 {
4747 AVFilterContext *filt;
4848
libavfilter/graphparser.h+2−2
@@ -31,8 +31,8 @@ · 30 unmodified lines
3131 * @param filters string to be parsed
3232 * @param in input to the graph to be parsed (TODO: allow several)
3333 * @param inpad pad index of the input
34− * @param in output to the graph to be parsed (TODO: allow several)
35− * @param inpad pad index of the output
34+ * @param out output to the graph to be parsed (TODO: allow several)
35+ * @param outpad pad index of the output
3636 * @return zero on success, -1 on error
3737 */
3838 int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, AVFilterContext *in, int inpad, AVFilterContext *out, int outpad);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t