History

Rename avfilter_destroy_graph() to avfilter_graph_destroy(), for better consistency with the rest of the API.

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

Stefano Sabatini committed 17 years ago

Commit d7dbe551 parent f56995b3 files · +3 −3Browse files

Unified · Split

3 files
  1. libavfilter/avfiltergraph.c +1 −1
  2. libavfilter/avfiltergraph.h +1 −1
  3. libavfilter/graphparser.c +1 −1
libavfilter/avfiltergraph.c+1−1
@@ -26,7 +26,7 @@ · 25 unmodified lines
26#include "avfilter.h"26#include "avfilter.h"
27#include "avfiltergraph.h"27#include "avfiltergraph.h"
28 28
29void avfilter_destroy_graph(AVFilterGraph *graph)29void avfilter_graph_destroy(AVFilterGraph *graph)
30{30{
31 for(; graph->filter_count > 0; graph->filter_count --)31 for(; graph->filter_count > 0; graph->filter_count --)
32 avfilter_destroy(graph->filters[graph->filter_count - 1]);32 avfilter_destroy(graph->filters[graph->filter_count - 1]);
libavfilter/avfiltergraph.h+1−1
@@ -64,6 +64,6 @@ int avfilter_graph_config_formats(AVFilterGraph *graphctx); · 63 unmodified lines
64/**64/**
65 * Free a graph and destroy its links.65 * Free a graph and destroy its links.
66 */66 */
67void avfilter_destroy_graph(AVFilterGraph *graph);67void avfilter_graph_destroy(AVFilterGraph *graph);
68 68
69#endif /* AVFILTER_AVFILTERGRAPH_H */69#endif /* AVFILTER_AVFILTERGRAPH_H */
libavfilter/graphparser.c+1−1
@@ -394,7 +394,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, · 393 unmodified lines
394 return 0;394 return 0;
395 395
396 fail:396 fail:
397 avfilter_destroy_graph(graph);397 avfilter_graph_destroy(graph);
398 free_inout(open_inputs);398 free_inout(open_inputs);
399 free_inout(open_outputs);399 free_inout(open_outputs);
400 free_inout(curr_inputs);400 free_inout(curr_inputs);

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