[FFmpeg-soc] [soc]: r2054 - libavfilter/avfiltergraph.c
vitor
subversion at mplayerhq.hu
Wed Mar 26 22:06:01 CET 2008
Author: vitor
Date: Wed Mar 26 22:06:01 2008
New Revision: 2054
Log:
Rename functions now static
Modified:
libavfilter/avfiltergraph.c
Modified: libavfilter/avfiltergraph.c
==============================================================================
--- libavfilter/avfiltergraph.c (original)
+++ libavfilter/avfiltergraph.c Wed Mar 26 22:06:01 2008
@@ -253,7 +253,7 @@ static int link_filter(AVFilterGraph *ct
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
/**
* 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(co
fail:
free_inout(head);
- avfilter_graph_free_desc(ret);
+ free_desc(ret);
return NULL;
}
@@ -643,11 +643,11 @@ int avfilter_graph_parse_chain(AVFilterG
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;
}
More information about the FFmpeg-soc
mailing list