gst-plugins-base: tests: initialize variables
Stefan Kost
ensonic at kemper.freedesktop.org
Wed Apr 25 00:23:43 PDT 2012
Module: gst-plugins-base
Branch: master
Commit: 0d50fc03ccae297eddc9d19f2a6baf286a27cc56
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=0d50fc03ccae297eddc9d19f2a6baf286a27cc56
Author: Stefan Sauer <ensonic at users.sf.net>
Date: Thu Apr 19 14:41:40 2012 +0200
tests: initialize variables
---
tests/check/pipelines/streamheader.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/check/pipelines/streamheader.c b/tests/check/pipelines/streamheader.c
index 77e998c..e3c8d06 100644
--- a/tests/check/pipelines/streamheader.c
+++ b/tests/check/pipelines/streamheader.c
@@ -69,7 +69,7 @@ GST_START_TEST (test_multisocketsink_gdp_tag)
GstPad *pad;
GMainLoop *loop;
int pfd[2];
- GSocket *s[2];
+ GSocket *s[2] = { NULL, };
loop = g_main_loop_new (NULL, FALSE);
@@ -185,7 +185,7 @@ GST_START_TEST (test_multisocketsink_gdp_vorbisenc)
GstPad *pad;
GMainLoop *loop;
int pfd[2];
- GSocket *s[2];
+ GSocket *s[2] = { NULL, };
loop = g_main_loop_new (NULL, FALSE);
More information about the gstreamer-commits
mailing list