From 7112b93a978ab61016aaff3709885d344b904131 Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Mon, 30 Apr 2012 13:32:41 +0200 Subject: [PATCH] multifilesink: fix buffer list size calculation in render_list Fix uninitialized 'size' variable in call to gst_buffer_list_foreach(). --- gst/multifile/gstmultifilesink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/multifile/gstmultifilesink.c b/gst/multifile/gstmultifilesink.c index ce439c1..9142968 100644 --- a/gst/multifile/gstmultifilesink.c +++ b/gst/multifile/gstmultifilesink.c @@ -706,7 +706,7 @@ static GstFlowReturn gst_multi_file_sink_render_list (GstBaseSink * sink, GstBufferList * list) { GstBuffer *buf; - guint size; + guint size = 0; gst_buffer_list_foreach (list, buffer_list_calc_size, &size); GST_LOG_OBJECT (sink, "total size of buffer list %p: %u", list, size); -- 2.7.4