mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
Implement avfilter_graph_alloc().
Originally committed as revision 25673 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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 --)
|
||||
|
||||
Reference in New Issue
Block a user