mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
lavf/tcp: Fix the type of the optlen argument to getsockopt().
Fixes a warning on aix: libavformat/tcp.c:283:58: warning: passing argument 5 of 'getsockopt' from incompatible pointer type
This commit is contained in:
parent
7c9f739d86
commit
c3b5ea7530
@ -275,7 +275,7 @@ static int tcp_get_window_size(URLContext *h)
|
||||
{
|
||||
TCPContext *s = h->priv_data;
|
||||
int avail;
|
||||
int avail_len = sizeof(avail);
|
||||
socklen_t avail_len = sizeof(avail);
|
||||
|
||||
#if HAVE_WINSOCK2_H
|
||||
/* SO_RCVBUF with winsock only reports the actual TCP window size when
|
||||
|
Loading…
Reference in New Issue
Block a user