diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-04 20:34:19 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-04 20:34:19 +0000 |
commit | e15aeea6565f0e6386db7738814fcdde46c2dec3 (patch) | |
tree | 91d372dcc385aa2107ba29c392e4723c59b46af9 /libavfilter/avfiltergraph.c | |
parent | a6fdd5748fa015eaaf085695fc59240b6d0b9a7d (diff) | |
download | ffmpeg-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.c | 5 |
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 --) |