gstbuffer: Fix unitialized variable

gcc 4.5 complains otherwise :(
This commit is contained in:
Edward Hervey 2012-03-29 15:18:33 +02:00
parent 4b6c3c7fea
commit 31ca9f9216

View file

@ -213,7 +213,7 @@ _get_merged_memory (GstBuffer * buffer, gboolean * merged)
*merged = FALSE; *merged = FALSE;
} else { } else {
GstMemory *parent = NULL; GstMemory *parent = NULL;
gsize size, poffset; gsize size, poffset = 0;
size = gst_buffer_get_size (buffer); size = gst_buffer_get_size (buffer);