summaryrefslogtreecommitdiffstats
path: root/gst/udp
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2008-06-13 11:47:28 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-06-13 11:47:28 +0000
commit5b751d02901fd672973d411d153820fc33f40508 (patch)
treeabfea1908cc25d135404678ec19da36525f9fe3f /gst/udp
parentab58eeec2e835bd46020b4a085144a81ba442f5a (diff)
gst/udp/gstudpnetutils.c: Use g_ntohl for better portability.
Original commit message from CVS: * gst/udp/gstudpnetutils.c: (gst_udp_is_multicast): Use g_ntohl for better portability.
Diffstat (limited to 'gst/udp')
-rw-r--r--gst/udp/gstudpnetutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/udp/gstudpnetutils.c b/gst/udp/gstudpnetutils.c
index 5464ddac..58e11bdb 100644
--- a/gst/udp/gstudpnetutils.c
+++ b/gst/udp/gstudpnetutils.c
@@ -230,7 +230,7 @@ gst_udp_is_multicast (struct sockaddr_storage *addr)
{
struct sockaddr_in *addr4 = (struct sockaddr_in *) addr;
- ret = IN_MULTICAST (ntohl (addr4->sin_addr.s_addr));
+ ret = IN_MULTICAST (g_ntohl (addr4->sin_addr.s_addr));
}
break;