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:
08b792d
)
webrtc: Fix sctp task's return type.
author
Doug Nazar
<nazard@nazar.ca>
Thu, 22 Apr 2021 20:09:40 +0000
(16:09 -0400)
committer
Doug Nazar
<nazard@nazar.ca>
Thu, 22 Apr 2021 20:14:41 +0000
(16:14 -0400)
GstWebRTCBinFunc expects a GstStructure* return type.
Fixes segfault on PowerPC.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2188>
ext/webrtc/sctptransport.c
patch
|
blob
|
history
diff --git
a/ext/webrtc/sctptransport.c
b/ext/webrtc/sctptransport.c
index
169a494
..
79aaa89
100644
(file)
--- a/
ext/webrtc/sctptransport.c
+++ b/
ext/webrtc/sctptransport.c
@@
-62,11
+62,12
@@
struct task
GDestroyNotify notify;
};
-static
void
+static
GstStructure *
_execute_task (GstWebRTCBin * webrtc, struct task *task)
{
if (task->func)
task->func (task->sctp, task->user_data);
+ return NULL;
}
static void