[pulseaudio-discuss] [PATCH 1/2] modules: Fix uninitialized variable in rtp-send

Peter Meerwald pmeerw at pmeerw.net
Thu Feb 20 14:06:09 PST 2014


Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
---
 src/modules/rtp/module-rtp-send.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/rtp/module-rtp-send.c b/src/modules/rtp/module-rtp-send.c
index 581e6be..14f00b3 100644
--- a/src/modules/rtp/module-rtp-send.c
+++ b/src/modules/rtp/module-rtp-send.c
@@ -281,7 +281,7 @@ int pa__init(pa_module*m) {
         dst_sa6.sin6_family = af = AF_INET6;
         dst_sa6.sin6_port = htons((uint16_t) port);
         dst_sa6.sin6_flowinfo = 0;
-        src_sa6.sin6_scope_id = 0;
+        dst_sa6.sin6_scope_id = 0;
         dst_sap_sa6 = dst_sa6;
         dst_sap_sa6.sin6_port = htons(SAP_PORT);
 #endif
-- 
1.8.3.2



More information about the pulseaudio-discuss mailing list