registrychunks: Use strnlen if available
authorEdward Hervey <edward@centricular.com>
Fri, 20 Mar 2020 08:11:02 +0000 (09:11 +0100)
committerSebastian Dröge <slomo@coaxion.net>
Sun, 22 Mar 2020 10:40:21 +0000 (10:40 +0000)
commit99901ffab4dbb96f6994c9927b6c0f63df373812
treecf4fd66d0ea0c1e4ba36509b2913bc24cd9f8fe9
parent6907abdca8e20716c349fd7e559ffbe934eed96f
registrychunks: Use strnlen if available

When this `_strnlen` internal method was added, strnlen (in glibc)
was not available yet (appeared in 2.10 it was released that same
year).

If available, use the much more optimized strnlen
gst/gstregistrychunks.c
meson.build