diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-04-05 00:09:11 +0400 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-04-05 00:09:11 +0400 |
commit | d66e946b12c3fa6fc7aefb4ef4526a6d95ce38cc (patch) | |
tree | 89fc7158fb3ef0f335aea297e80e286c2e76701a /libavfilter | |
parent | de0e3e81d3efa2319f14e0a6f97b90b0191c3475 (diff) |
Rename functions now static
Commited in SoC by Vitor Sessak on 2008-03-26 21:06:01
Originally committed as revision 12741 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfiltergraph.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index e40e30410f..059e6a3676 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -253,7 +253,7 @@ static int link_filter(AVFilterGraph *ctx, int src, int srcpad, return 0; } -int graph_load_from_desc3(AVFilterGraph *graph, AVFilterGraphDesc *desc, AVFilterContext *in, int inpad, AVFilterContext *out, int outpad) +static int load_from_desc(AVFilterGraph *graph, AVFilterGraphDesc *desc, AVFilterContext *in, int inpad, AVFilterContext *out, int outpad) { AVFilterGraphDescExport *curpad; char tmp[20]; @@ -477,7 +477,7 @@ static int parse_inouts(const char **buf, AVFilterInOut **inout, int firstpad, /** * Free a graph description. */ -void avfilter_graph_free_desc(AVFilterGraphDesc *desc) +static void free_desc(AVFilterGraphDesc *desc) { void *next; @@ -624,7 +624,7 @@ static AVFilterGraphDesc *parse_chain(const char *filters, int has_in) fail: free_inout(head); - avfilter_graph_free_desc(ret); + free_desc(ret); return NULL; } @@ -643,11 +643,11 @@ int avfilter_graph_parse_chain(AVFilterGraph *graph, const char *filters, AVFilt if (!desc) return -1; - if (graph_load_from_desc3(graph, desc, in, inpad, out, outpad) < 0) { - avfilter_graph_free_desc(desc); + if (load_from_desc(graph, desc, in, inpad, out, outpad) < 0) { + free_desc(desc); return -1; } - avfilter_graph_free_desc(desc); + free_desc(desc); return 0; } |