[FFmpeg-cvslog] avconv: don't pass a bogus parameter to avfilter_graph_create_filter().

Anton Khirnov git at videolan.org
Tue Sep 18 14:52:49 CEST 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Aug 18 16:15:42 2012 +0200| [58dee6e62d593747b5dbe8ce6c2ff1833151b9b0] | committer: Anton Khirnov

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=58dee6e62d593747b5dbe8ce6c2ff1833151b9b0
---

 avconv_filter.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/avconv_filter.c b/avconv_filter.c
index 4e5c1ec..ec38957 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;
 



More information about the ffmpeg-cvslog mailing list