mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
gstbuffer: Fix unitialized variables
This commit is contained in:
parent
22d64af104
commit
b84afab3fa
1 changed files with 2 additions and 2 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue