[pulseaudio-commits] 2 commits - src/modules
Arun Raghavan
arun at kemper.freedesktop.org
Tue Feb 7 02:50:54 PST 2012
src/modules/module-loopback.c | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 89a49d961107ebede27d00cc4cf73df4d27495ef
Author: Arun Raghavan <arun.raghavan at collabora.co.uk>
Date: Tue Feb 7 14:03:47 2012 +0530
loopback: Trivial whitespace fix
diff --git a/src/modules/module-loopback.c b/src/modules/module-loopback.c
index 74231a3..5c87c6c 100644
--- a/src/modules/module-loopback.c
+++ b/src/modules/module-loopback.c
@@ -361,6 +361,7 @@ static void source_output_moving_cb(pa_source_output *o, pa_source *dest) {
pa_proplist *p;
const char *n;
struct userdata *u;
+
if (!dest)
return;
@@ -601,6 +602,7 @@ static void sink_input_moving_cb(pa_sink_input *i, pa_sink *dest) {
struct userdata *u;
pa_proplist *p;
const char *n;
+
if (!dest)
return;
commit d0f1a3a770806145a2ae15d0de34d279be6bb1a3
Author: Frédéric Dalleau <frederic.dalleau at linux.intel.com>
Date: Mon Feb 6 18:15:36 2012 +0100
loopback: Fix crash when moving sink-input fails
diff --git a/src/modules/module-loopback.c b/src/modules/module-loopback.c
index 1f2ef91..74231a3 100644
--- a/src/modules/module-loopback.c
+++ b/src/modules/module-loopback.c
@@ -601,6 +601,8 @@ static void sink_input_moving_cb(pa_sink_input *i, pa_sink *dest) {
struct userdata *u;
pa_proplist *p;
const char *n;
+ if (!dest)
+ return;
pa_sink_input_assert_ref(i);
pa_assert_ctl_context();
More information about the pulseaudio-commits
mailing list