Commit cc11a7f9 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

srt: initialize list access within locked region

parent ce92cb81
......@@ -1292,9 +1292,10 @@ gst_srt_object_write_to_callers (GstSRTObject * srtobject,
GstBufferList * headers,
const GstMapInfo * mapinfo, GCancellable * cancellable, GError ** error)
{
GList *callers = srtobject->callers;
GList *callers;
GST_OBJECT_LOCK (srtobject->element);
callers = srtobject->callers;
while (callers != NULL) {
gssize len = 0;
const guint8 *msg = mapinfo->data;
......
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