History

Implement avfilter_graph_alloc().

Originally committed as revision 25673 to svn://svn.ffmpeg.org/ffmpeg/trunk

Stefano Sabatini committed 16 years ago

Commit e15aeea1 parent a6fdd576 files · +16 −3Browse files

Showing the changes to libavfilter/avfiltergraph.c (1 of 6 files). Show all

Unified · Split

libavfilter/avfiltergraph.c+5−0
@@ -26,6 +26,11 @@ · 25 unmodified lines
26#include "avfilter.h"26#include "avfilter.h"
27#include "avfiltergraph.h"27#include "avfiltergraph.h"
28 28
29AVFilterGraph *avfilter_graph_alloc(void)
30{
31 return av_mallocz(sizeof(AVFilterGraph));
32}
33
29void avfilter_graph_destroy(AVFilterGraph *graph)34void avfilter_graph_destroy(AVFilterGraph *graph)
30{35{
31 for(; graph->filter_count > 0; graph->filter_count --)36 for(; graph->filter_count > 0; graph->filter_count --)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t