From 58dee6e62d593747b5dbe8ce6c2ff1833151b9b0 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 18 Aug 2012 16:15:42 +0200 Subject: [PATCH] avconv: don't pass a bogus parameter to avfilter_graph_create_filter(). The buffer sink does not take any parameters. Fixes an uninitialized variable warning. --- avconv_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avconv_filter.c b/avconv_filter.c index 4e5c1ecb03..ec38957cc1 100644 --- a/avconv_filter.c +++ b/avconv_filter.c @@ -191,7 +191,7 @@ static int configure_output_video_filter(FilterGraph *fg, OutputFilter *ofilter, snprintf(name, sizeof(name), "output stream %d:%d", ost->file_index, ost->index); ret = avfilter_graph_create_filter(&ofilter->filter, avfilter_get_by_name("buffersink"), - name, NULL, pix_fmts, fg->graph); + name, NULL, NULL, fg->graph); if (ret < 0) return ret;