projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54c63da
)
multifilesink: fix buffer list size calculation in render_list
author
Peter Seiderer
<ps.report@gmx.net>
Mon, 30 Apr 2012 11:32:41 +0000
(13:32 +0200)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Mon, 30 Apr 2012 21:00:59 +0000
(22:00 +0100)
Fix uninitialized 'size' variable in call to gst_buffer_list_foreach().
gst/multifile/gstmultifilesink.c
patch
|
blob
|
history
diff --git
a/gst/multifile/gstmultifilesink.c
b/gst/multifile/gstmultifilesink.c
index
ce439c1
..
9142968
100644
(file)
--- 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);