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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1664>
This commit is contained in:
Matthew Waters 2022-02-11 16:50:42 +11:00 committed by GStreamer Marge Bot
parent 5bfe36746a
commit 04de1a161f

View file

@ -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);