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:
4b6c3c7
)
gstbuffer: Fix unitialized variable
author
Edward Hervey
<bilboed@bilboed.com>
Thu, 29 Mar 2012 13:18:33 +0000
(15:18 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Thu, 29 Mar 2012 13:18:33 +0000
(15:18 +0200)
gcc 4.5 complains otherwise :(
gst/gstbuffer.c
patch
|
blob
|
history
diff --git
a/gst/gstbuffer.c
b/gst/gstbuffer.c
index
49d1289
..
00a3c42
100644
(file)
--- a/
gst/gstbuffer.c
+++ b/
gst/gstbuffer.c
@@
-213,7
+213,7
@@
_get_merged_memory (GstBuffer * buffer, gboolean * merged)
*merged = FALSE;
} else {
GstMemory *parent = NULL;
- gsize size, poffset;
+ gsize size, poffset
= 0
;
size = gst_buffer_get_size (buffer);