rtpst2022-1-fecenc: memset when reallocating xored payload
authorMathieu Duponchelle <mathieu@centricular.com>
Sat, 12 Dec 2020 03:00:41 +0000 (04:00 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 12 Dec 2020 09:29:15 +0000 (09:29 +0000)
commit6d98415fd4085bd1a910ca7263240d19d1089307
tree8bfcc2611bba9b255f50e3f93ec12ee4a5f31194
parent081509e030e47e8a02e83073aedbc03f718956d2
rtpst2022-1-fecenc: memset when reallocating xored payload

When protecting packets with a variable payload length, we
reallocate the xored payload when needed. It is a good idea
to memset the extended memory to 0 so that we don't xor
data with garbage!

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/839>
gst/rtpmanager/gstrtpst2022-1-fecenc.c