Commit b84afab3 authored by Edward Hervey's avatar Edward Hervey

gstbuffer: Fix unitialized variables

parent 22d64af1
......@@ -1200,8 +1200,8 @@ static GstMemory *
_gst_buffer_arr_span (GstMemory ** mem[], gsize len[], guint n, gsize offset,
gsize size, gboolean writable)
{
GstMemory *span, *parent;
gsize poffset;
GstMemory *span, *parent = NULL;
gsize poffset = 0;
if (!writable
&& _gst_buffer_arr_is_span_fast (mem, len, n, &poffset, &parent)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment