projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b84e02
)
mikey: Actually replace payload ...
author
Edward Hervey
<bilboed@bilboed.com>
Mon, 12 May 2014 15:15:17 +0000
(17:15 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Mon, 12 May 2014 15:15:17 +0000
(17:15 +0200)
This function is intented to replace the payload, let's actually do that
instead of putting back the same (freed) payload
CID #
1212175
gst-libs/gst/sdp/gstmikey.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/sdp/gstmikey.c
b/gst-libs/gst/sdp/gstmikey.c
index 0629a0cb2d190e0b2435714737d5c2acb79b207d..19bf608bc697b596a92fc9a535d5a04ede540d33 100644
(file)
--- a/
gst-libs/gst/sdp/gstmikey.c
+++ b/
gst-libs/gst/sdp/gstmikey.c
@@
-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) = p
ayload
;
return TRUE;
}