mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
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.
This commit is contained in:
parent
ab58eeec2e
commit
5b751d0290
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue