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.
pull/28/head
Anton Khirnov 13 years ago
parent 049ce4facb
commit 58dee6e62d
  1. 2
      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;

Loading…
Cancel
Save