Commit 5b751d02 authored by Wim Taymans's avatar Wim Taymans
Browse files

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.
parent ab58eeec
2008-06-13 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/udp/gstudpnetutils.c: (gst_udp_is_multicast):
Use g_ntohl for better portability.
2008-06-13 Wim Taymans <wim.taymans@collabora.co.uk>
 
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init_send),
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment