aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-08-18 16:15:42 +0200
committerAnton Khirnov <anton@khirnov.net>2012-09-17 15:48:20 +0200
commit58dee6e62d593747b5dbe8ce6c2ff1833151b9b0 (patch)
tree737cb33b3e27f7ef8288b3252c12b7ab6cd1ec57
parent049ce4facbd0565baeec628083ceacb5035295d4 (diff)
downloadffmpeg-58dee6e62d593747b5dbe8ce6c2ff1833151b9b0.tar.gz
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.
-rw-r--r--avconv_filter.c2
1 files changed, 1 insertions, 1 deletions
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;