mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-24 08:38:32 +08:00
Implement avfilter_graph_alloc().
Originally committed as revision 25673 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
2
ffmpeg.c
2
ffmpeg.c
@ -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;
|
||||
|
Reference in New Issue
Block a user