aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfiltergraph.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-11-04 20:34:19 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-11-04 20:34:19 +0000
commite15aeea6565f0e6386db7738814fcdde46c2dec3 (patch)
tree91d372dcc385aa2107ba29c392e4723c59b46af9 /libavfilter/avfiltergraph.c
parenta6fdd5748fa015eaaf085695fc59240b6d0b9a7d (diff)
downloadffmpeg-e15aeea6565f0e6386db7738814fcdde46c2dec3.tar.gz
Implement avfilter_graph_alloc().
Originally committed as revision 25673 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r--libavfilter/avfiltergraph.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index baffc5168b..6aa08157b5 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -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 --)