projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55caa99
)
rtpmp4apay: clear config buffer before using it
author
Michael Olbrich
<m.olbrich@pengutronix.de>
Fri, 17 May 2013 10:37:59 +0000
(12:37 +0200)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sat, 18 May 2013 09:57:56 +0000
(10:57 +0100)
This is necessary because parts of the memory are only modified with "|="
https://bugzilla.gnome.org/show_bug.cgi?id=700514
gst/rtp/gstrtpmp4apay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtpmp4apay.c
b/gst/rtp/gstrtpmp4apay.c
index 5676ebff7aabb4d90874e1195c3b491370341b79..17a80a81abf47b807c1fcc8bd526e92449acd41e 100644
(file)
--- a/
gst/rtp/gstrtpmp4apay.c
+++ b/
gst/rtp/gstrtpmp4apay.c
@@
-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)