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

@ -345,7 +345,7 @@ static int configure_filters(AVInputStream *ist, AVOutputStream *ost)
char args[255];
int ret;
graph = av_mallocz(sizeof(AVFilterGraph));
graph = avfilter_graph_alloc();
if ((ret = avfilter_open(&ist->input_video_filter, avfilter_get_by_name("buffer"), "src")) < 0)
return ret;