mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
srt: initialize list access within locked region
This commit is contained in:
parent
ce92cb81a0
commit
cc11a7f9d7
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue