From: Wim Taymans Date: Wed, 27 May 2009 09:03:14 +0000 (+0200) Subject: rtpsouce: the network address is in network order X-Git-Tag: 1.19.3~509^2~9798 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf15048f4269176dd1cd5069c2d7dedf0a2a1007;p=platform%2Fupstream%2Fgstreamer.git rtpsouce: the network address is in network order Bring the network address in netowkr byte order to the host order. --- diff --git a/gst/rtpmanager/rtpsource.c b/gst/rtpmanager/rtpsource.c index 355526e..ac79322 100644 --- a/gst/rtpmanager/rtpsource.c +++ b/gst/rtpmanager/rtpsource.c @@ -199,6 +199,7 @@ make_address_string (GstNetAddress * addr, gchar * dest, gulong n) guint16 port; gst_netaddress_get_ip4_address (addr, &address, &port); + address = g_ntohl (address); g_snprintf (dest, n, "%d.%d.%d.%d:%d", (address >> 24) & 0xff, (address >> 16) & 0xff, (address >> 8) & 0xff, address & 0xff,