mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
mikey: Actually replace payload ...
This function is intented to replace the payload, let's actually do that instead of putting back the same (freed) payload CID #1212175
This commit is contained in:
parent
3b84e02206
commit
dddb837d0d
1 changed files with 1 additions and 1 deletions
|
@ -1191,7 +1191,7 @@ gst_mikey_message_replace_payload (GstMIKEYMessage * msg, guint idx,
|
|||
|
||||
p = g_array_index (msg->payloads, GstMIKEYPayload *, idx);
|
||||
gst_mikey_payload_free (p);
|
||||
g_array_index (msg->payloads, GstMIKEYPayload *, idx) = p;
|
||||
g_array_index (msg->payloads, GstMIKEYPayload *, idx) = payload;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue