summaryrefslogtreecommitdiffstats
path: root/src/modules/rtp/module-rtp-send.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-send.c
parent162e43b306eb28749f2ae1f9c51818e9ad427996 (diff)
make a couple of functions return proper error codes
Diffstat (limited to 'src/modules/rtp/module-rtp-send.c')
-rw-r--r--src/modules/rtp/module-rtp-send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/rtp/module-rtp-send.c b/src/modules/rtp/module-rtp-send.c
index a6d682bb..762cdc1e 100644
--- a/src/modules/rtp/module-rtp-send.c
+++ b/src/modules/rtp/module-rtp-send.c
@@ -321,7 +321,7 @@ int pa__init(pa_module*m) {
pa_source_output_new_data_set_sample_spec(&data, &ss);
pa_source_output_new_data_set_channel_map(&data, &cm);
- o = pa_source_output_new(m->core, &data, PA_SOURCE_OUTPUT_DONT_INHIBIT_AUTO_SUSPEND);
+ pa_source_output_new(&o, m->core, &data, PA_SOURCE_OUTPUT_DONT_INHIBIT_AUTO_SUSPEND);
pa_source_output_new_data_done(&data);
if (!o) {