History

lavfi: deprecate avfilter_graph_add_filter().

Since this function adds a standalone filter to a filter graph and we do not support creating such filters, there is no reason for this function to exist.

Anton Khirnov committed 13 years ago

Commit c2c98011 parent bc1a9853 files · +10 −1Browse files

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

Unified · Split

libavfilter/avfiltergraph.c+2−0
@@ -58,6 +58,7 @@ void avfilter_graph_free(AVFilterGraph **graph) · 57 unmodified lines
5858 av_freep(graph);
5959 }
6060
61+#if FF_API_AVFILTER_OPEN
6162 int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter)
6263 {
6364 AVFilterContext **filters = av_realloc(graph->filters,
@@ -74,6 +75,7 @@ int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter) · 10 unmodified lines
7475
7576 return 0;
7677 }
78+#endif
7779
7880 int avfilter_graph_create_filter(AVFilterContext **filt_ctx, AVFilter *filt,
7981 const char *name, const char *args, void *opaque,

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