Commit 6ea14464 authored by Vitor Sessak's avatar Vitor Sessak
Browse files

Prefix names of filter structs

Commited in SoC by Bobby Bingham on 2007-08-18 18:17:30

Originally committed as revision 12704 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d1633ac6
...@@ -415,9 +415,9 @@ int avfilter_graph_config_links(AVFilterContext *graphctx) ...@@ -415,9 +415,9 @@ int avfilter_graph_config_links(AVFilterContext *graphctx)
for(i = 0; i < graph->filter_count; i ++) { for(i = 0; i < graph->filter_count; i ++) {
for(j = 0; j < graph->filters[i]->input_count; j ++) { for(j = 0; j < graph->filters[i]->input_count; j ++) {
/* ensure that graphs contained within graphs are configured */ /* ensure that graphs contained within graphs are configured */
if((graph->filters[i]->filter == &vf_graph || if((graph->filters[i]->filter == &avfilter_vf_graph ||
graph->filters[i]->filter == &vf_graphfile || graph->filters[i]->filter == &avfilter_vf_graphfile ||
graph->filters[i]->filter == &vf_graphdesc) && graph->filters[i]->filter == &avfilter_vf_graphdesc) &&
avfilter_graph_config_links(graph->filters[i])) avfilter_graph_config_links(graph->filters[i]))
return -1; return -1;
if(avfilter_config_link(graph->filters[i]->inputs[j])) if(avfilter_config_link(graph->filters[i]->inputs[j]))
...@@ -559,7 +559,7 @@ fail: ...@@ -559,7 +559,7 @@ fail:
return -1; return -1;
} }
AVFilter vf_graph = AVFilter avfilter_vf_graph =
{ {
.name = "graph", .name = "graph",
.author = "Bobby Bingham", .author = "Bobby Bingham",
...@@ -656,7 +656,7 @@ fail: ...@@ -656,7 +656,7 @@ fail:
return -1; return -1;
} }
AVFilter vf_graphdesc = AVFilter avfilter_vf_graphdesc =
{ {
.name = "graph_desc", .name = "graph_desc",
.author = "Bobby Bingham", .author = "Bobby Bingham",
...@@ -685,7 +685,7 @@ static int init_file(AVFilterContext *ctx, const char *args, void *opaque) ...@@ -685,7 +685,7 @@ static int init_file(AVFilterContext *ctx, const char *args, void *opaque)
return ret; return ret;
} }
AVFilter vf_graphfile = AVFilter avfilter_vf_graphfile =
{ {
.name = "graph_file", .name = "graph_file",
.author = "Bobby Bingham", .author = "Bobby Bingham",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment