From: Tim-Philipp Müller Date: Thu, 27 Jul 2006 10:01:49 +0000 (+0000) Subject: gst/udp/gstudpsrc.c: Use CLOSE_SOCKET() here instead of close() to maintain win32... X-Git-Tag: 1.19.3~509^2~12580 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3deb7ad298b4a8f03f16e3feb03d827029736717;p=platform%2Fupstream%2Fgstreamer.git gst/udp/gstudpsrc.c: Use CLOSE_SOCKET() here instead of close() to maintain win32 workiness. Original commit message from CVS: * gst/udp/gstudpsrc.c: (gst_udpsrc_start): Use CLOSE_SOCKET() here instead of close() to maintain win32 workiness. --- diff --git a/ChangeLog b/ChangeLog index 103e7f1..215f97f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-07-27 Tim-Philipp Müller + + * gst/udp/gstudpsrc.c: (gst_udpsrc_start): + Use CLOSE_SOCKET() here instead of close() to maintain + win32 workiness. + 2006-07-27 Wim Taymans Patch by: Thijs Vermeir diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c index fc82552..e56dafd 100644 --- a/gst/udp/gstudpsrc.c +++ b/gst/udp/gstudpsrc.c @@ -707,7 +707,7 @@ getsockname_error: } udpbuffer_error: { - close (src->sock); + CLOSE_SOCKET (src->sock); src->sock = -1; GST_ELEMENT_ERROR (src, RESOURCE, SETTINGS, (NULL), ("Could not create a buffer of the size requested, %d: %s (%d)", ret,