multifilesink: fix buffer list size calculation in render_list

Fix uninitialized 'size' variable in call to gst_buffer_list_foreach().
This commit is contained in:
Peter Seiderer 2012-04-30 13:32:41 +02:00 committed by Tim-Philipp Müller
parent 54c63dac31
commit 7112b93a97

View file

@ -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);