From 91b3002fa0fe299ee8524caf6104772a7ec7d101 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Mon, 5 Aug 2019 23:22:53 +1000 Subject: [PATCH] android: Fix missing sentinel and return value compiler warnings --- webrtc/android/app/src/main/jni/webrtc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webrtc/android/app/src/main/jni/webrtc.c b/webrtc/android/app/src/main/jni/webrtc.c index 1e85c76a6a..9e4c4b7704 100644 --- a/webrtc/android/app/src/main/jni/webrtc.c +++ b/webrtc/android/app/src/main/jni/webrtc.c @@ -339,7 +339,7 @@ start_pipeline (WebRTC * webrtc) pad = gst_element_get_static_pad (webrtc->webrtcbin, "sink_0"); gst_util_set_object_arg (G_OBJECT (pad), "fec-type", "ulp-red"); - g_object_set (pad, "do-nack", FALSE); + g_object_set (pad, "do-nack", FALSE, NULL); gst_object_unref (pad); /* This is the gstwebrtc entry point where we create the offer and so on. It @@ -727,6 +727,8 @@ _call_thread (WebRTC * webrtc) g_main_context_pop_thread_default (context); detach_current_thread (env); + + return NULL; } static void