diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index 3504a3cc0a..62d0eefa6d 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_filter.c @@ -445,6 +445,9 @@ static int graph_parse(AVFilterGraph *graph, const char *desc, AVFilterGraphSegment *seg; int ret; + *inputs = NULL; + *outputs = NULL; + ret = avfilter_graph_segment_parse(graph, desc, 0, &seg); if (ret < 0) return ret;