mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
avtp: Initialise strack structures to 0 in tests
Avoid valgrind warnings about accessing uninitialised memory in the tests by initialisting structures to 0 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1305>
This commit is contained in:
parent
0e578b1096
commit
737cfc40de
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@
|
|||
|
||||
GST_START_TEST (test_buffer_tstamp_valid)
|
||||
{
|
||||
struct avtp_stream_pdu pdu;
|
||||
GstMapInfo info;
|
||||
struct avtp_stream_pdu pdu = { 0, };
|
||||
GstMapInfo info = { 0, };
|
||||
gboolean result;
|
||||
|
||||
info.data = (guint8 *) & pdu;
|
||||
|
|
Loading…
Reference in a new issue