projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
049ce4f
)
avconv: don't pass a bogus parameter to avfilter_graph_create_filter().
author
Anton Khirnov
<anton@khirnov.net>
Sat, 18 Aug 2012 14:15:42 +0000
(16:15 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Mon, 17 Sep 2012 13:48:20 +0000
(15:48 +0200)
The buffer sink does not take any parameters.
Fixes an uninitialized variable warning.
avconv_filter.c
patch
|
blob
|
history
diff --git
a/avconv_filter.c
b/avconv_filter.c
index
4e5c1ec
..
ec38957
100644
(file)
--- 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;