2018-05-07 5:17 GMT+08:00 Michael Niedermayer <mich...@niedermayer.cc>: > 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. Will fix the mingw64 build fail, tks > > [...] > -- > Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB > > No great genius has ever existed without some touch of madness. -- Aristotle > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel >
-- ======================================= Pixelworks Room 301-303 No. 88,Lane 887 Zuchongzhi Road, Zhangjiang Hi-tech Park, Shanghai 201203, China Best Regards, Jun zhao/赵军 +++++++++++++++++++++++++++++++++++++++ _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel