summaryrefslogtreecommitdiff
path: root/src/modules/rtp/module-rtp-recv.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-02-03 03:14:20 +0100
committerLennart Poettering <lennart@poettering.net>2009-02-03 03:14:20 +0100
commit08800c35b072820ba485a5a0a211ce91a1656390 (patch)
treeb668580cc48f72e9e8568fbf58b70f4eaf71c11d /src/modules/rtp/module-rtp-recv.c
parent162e43b306eb28749f2ae1f9c51818e9ad427996 (diff)
downloadpulseaudio-08800c35b072820ba485a5a0a211ce91a1656390.tar.gz
make a couple of functions return proper error codes
Diffstat (limited to 'src/modules/rtp/module-rtp-recv.c')
-rw-r--r--src/modules/rtp/module-rtp-recv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/rtp/module-rtp-recv.c b/src/modules/rtp/module-rtp-recv.c
index 00d212551..baf3532f0 100644
--- a/src/modules/rtp/module-rtp-recv.c
+++ b/src/modules/rtp/module-rtp-recv.c
@@ -453,7 +453,7 @@ static struct session *session_new(struct userdata *u, const pa_sdp_info *sdp_in
data.module = u->module;
pa_sink_input_new_data_set_sample_spec(&data, &sdp_info->sample_spec);
- s->sink_input = pa_sink_input_new(u->module->core, &data, 0);
+ pa_sink_input_new(&s->sink_input, u->module->core, &data, 0);
pa_sink_input_new_data_done(&data);
if (!s->sink_input) {