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
@ -446,7 +446,7 @@ accept_failed:
|
||||
getnameinfo_failed:
|
||||
wrong_family:
|
||||
{
|
||||
close (fd);
|
||||
CLOSE_SOCKET (fd);
|
||||
return GST_RTSP_ERROR;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user