webrtc: Clean up the userinfo unescaping code
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 28 Aug 2020 21:10:44 +0000 (02:40 +0530)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sun, 30 Aug 2020 09:53:42 +0000 (09:53 +0000)
commit16d84a2816ed1e912a4e46e698e633fa7d824e9f
tree5abefda4bdaada8dd334554b2c89f9218b3e0aba
parentccfb799d83cc303b08d35efc7a9e458e0fbf16c4
webrtc: Clean up the userinfo unescaping code

Continuation from 04fd705906f4bd4cf1901001484e60c21e1b3139. This is
easier to understand and also avoids two copies.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1547>
ext/webrtc/gstwebrtcice.c