summaryrefslogtreecommitdiff
path: root/src/modules/rtp/module-rtp-send.c
diff options
context:
space:
mode:
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 e647a9d3b..5a4c6fc06 100644
--- a/src/modules/rtp/module-rtp-send.c
+++ b/src/modules/rtp/module-rtp-send.c
@@ -488,7 +488,7 @@ int pa__init(pa_module*m) {
pa_xfree(n);
- if (!(u->rtp_context = pa_rtp_context_new_send(fd, payload, mtu, pa_frame_size(&ss))))
+ if (!(u->rtp_context = pa_rtp_context_new_send(fd, payload, mtu, &ss)))
goto fail;
pa_sap_context_init_send(&u->sap_context, sap_fd, p);