diff --git a/ChangeLog b/ChangeLog index 8046a94689..cdb2dddf69 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-13 Wim Taymans + + * gst/udp/gstudpnetutils.c: (gst_udp_is_multicast): + Use g_ntohl for better portability. + 2008-06-13 Wim Taymans * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init_send), diff --git a/gst/udp/gstudpnetutils.c b/gst/udp/gstudpnetutils.c index 5464ddacc9..58e11bdb2d 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;