mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
rtsp: use CLOSE_SOCKET() instead of close()
Use CLOSE_SOCKET instead of directly calling close() because it does the right thing for windows. Fixes #597539
This commit is contained in:
parent
fc56adc2e3
commit
730eead9a9
1 changed files with 1 additions and 1 deletions
|
@ -446,7 +446,7 @@ accept_failed:
|
|||
getnameinfo_failed:
|
||||
wrong_family:
|
||||
{
|
||||
close (fd);
|
||||
CLOSE_SOCKET (fd);
|
||||
return GST_RTSP_ERROR;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue