On Sun, May 06, 2018 at 11:12:13PM +0800, Jun Zhao wrote: > This can change the the MSS value announced to the other end in > the initial TCP packet, it's can be used when failed Path MTU > discovery. > > Signed-off-by: Jun Zhao <[email protected]> > --- > libavformat/tcp.c | 5 +++++ > 1 file changed, 5 insertions(+)
breaks build on mingw64
CC libavformat/tcp.o
src/libavformat/tcp.c: In function ‘tcp_open’:
src/libavformat/tcp.c:159:27: error: ‘TCP_MAXSEG’ undeclared (first use in this
function)
setsockopt (fd, IPPROTO_TCP, TCP_MAXSEG, &s->tcp_mss, sizeof
(s->tcp_mss));
^
src/libavformat/tcp.c:159:27: note: each undeclared identifier is reported only
once for each function it appears in
make: *** [libavformat/tcp.o] Error 1
make: Target `all' not remade because of errors.
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No great genius has ever existed without some touch of madness. -- Aristotle
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
