From 04de1a161f6e2cf6f7501c2ccdfed32b3af70417 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Fri, 11 Feb 2022 16:50:42 +1100 Subject: [PATCH] webrtc: avoid different versions of gnu-indent always wanting to change !! Add some sneaky parenthesis to avoid always having to use git commit -n or revert out hunk of the change. Part-of: --- subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c b/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c index b4e0677..10d617f 100644 --- a/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c +++ b/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c @@ -5555,7 +5555,7 @@ _generate_data_channel_id (GstWebRTCBin * webrtc) } /* client must generate even ids, server must generate odd ids */ - if (new_id % 2 == ! !is_client) + if (new_id % 2 == !(!is_client)) continue; channel = _find_data_channel_for_id (webrtc, new_id); -- 2.7.4