Commited in SoC by Vitor Sessak on 2008-04-03 16:32:37
Originally committed as revision 12748 to svn://svn.ffmpeg.org/ffmpeg/trunk
av_freep(&graph->filters);
}
-/**
- * @todo insert in sorted order
- */
void avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter)
{
graph->filters = av_realloc(graph->filters,
graph->filters[graph->filter_count - 1] = filter;
}
-/*
- * @todo search intelligently, once we insert in order
- */
AVFilterContext *avfilter_graph_get_filter(AVFilterGraph *graph, char *name)
{
int i;