Implement avfilter_graph_alloc().

Originally committed as revision 25673 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini
2010-11-04 20:34:19 +00:00
parent a6fdd5748f
commit e15aeea656
6 changed files with 16 additions and 3 deletions

View File

@@ -26,6 +26,11 @@
#include "avfilter.h"
#include "avfiltergraph.h"
AVFilterGraph *avfilter_graph_alloc(void)
{
return av_mallocz(sizeof(AVFilterGraph));
}
void avfilter_graph_destroy(AVFilterGraph *graph)
{
for(; graph->filter_count > 0; graph->filter_count --)