flv: use g_memdup2() as g_memdup() is deprecated
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 13 Aug 2021 14:02:53 +0000 (19:32 +0530)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 16 Aug 2021 08:00:53 +0000 (08:00 +0000)
commit620e9323c553e7800256a936bbefda3bacb14a23
tree6b55778effb225f1643a07b19adc42ac881745a0
parent04963cac86dec703838920b9be1961e83d537d54
flv: use g_memdup2() as g_memdup() is deprecated

g_memdup() is deprecated since GLib 2.68 and we want to avoid
deprecation warnings with recent versions of GLib.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1052>
gst/flv/gstindex.c