mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rtpmp4apay: clear config buffer before using it
This is necessary because parts of the memory are only modified with "|=" https://bugzilla.gnome.org/show_bug.cgi?id=700514
This commit is contained in:
parent
55caa99ccd
commit
d1c56376d6
1 changed files with 2 additions and 0 deletions
|
@ -294,6 +294,8 @@ gst_rtp_mp4a_pay_setcaps (GstRTPBasePayload * payload, GstCaps * caps)
|
|||
cbuffer = gst_buffer_new_and_alloc (map.size + 2);
|
||||
gst_buffer_map (cbuffer, &cmap, GST_MAP_WRITE);
|
||||
|
||||
memset (cmap.data, 0, map.size + 2);
|
||||
|
||||
/* Create StreamMuxConfig according to ISO/IEC 14496-3:
|
||||
*
|
||||
* audioMuxVersion == 0 (1 bit)
|
||||
|
|
Loading…
Reference in a new issue