History

Rename uninit() to avfilter_destroy_graph() and make it non-static Commited in SoC by Vitor Sessak on 2008-03-27 19:34:24

Originally committed as revision 12742 to svn://svn.ffmpeg.org/ffmpeg/trunk

Vitor Sessak committed 18 years ago

Commit c4913b81 parent d66e9462 files · +7 −2Browse files

Showing the changes to libavfilter/avfiltergraph.c (1 of 2 files). Show all

Unified · Split

libavfilter/avfiltergraph.c+2−2
@@ -84,7 +84,7 @@ static const AVClass filter_parser_class = { · 83 unmodified lines
84 84
85static const AVClass *log_ctx = &filter_parser_class;85static const AVClass *log_ctx = &filter_parser_class;
86 86
87static void uninit(AVFilterGraph *graph)87void avfilter_destroy_graph(AVFilterGraph *graph)
88{88{
89 for(; graph->filter_count > 0; graph->filter_count --)89 for(; graph->filter_count > 0; graph->filter_count --)
90 avfilter_destroy(graph->filters[graph->filter_count - 1]);90 avfilter_destroy(graph->filters[graph->filter_count - 1]);
@@ -306,7 +306,7 @@ static int load_from_desc(AVFilterGraph *graph, AVFilterGraphDesc *desc, AVFilte · 215 unmodified lines
306 return 0;306 return 0;
307 307
308fail:308fail:
309 uninit(graph);309 avfilter_destroy_graph(graph);
310 return -1;310 return -1;
311}311}
312 312

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