From: Doug Nazar Date: Thu, 22 Apr 2021 20:09:40 +0000 (-0400) Subject: webrtc: Fix sctp task's return type. X-Git-Tag: 1.19.3~507^2~497 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e29ba9fceefe98d47e9f9a76ca993ff7b323111;p=platform%2Fupstream%2Fgstreamer.git webrtc: Fix sctp task's return type. GstWebRTCBinFunc expects a GstStructure* return type. Fixes segfault on PowerPC. Part-of: --- diff --git a/ext/webrtc/sctptransport.c b/ext/webrtc/sctptransport.c index 169a494..79aaa89 100644 --- 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