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.
This commit is contained in:
Anton Khirnov 2012-08-18 16:15:42 +02:00
parent 049ce4facb
commit 58dee6e62d
1 changed files with 1 additions and 1 deletions

View File

@ -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;