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 <mypopy...@gmail.com> > --- > 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 ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel