[FFmpeg-devel] [PATCH 2/3] lavf/tcp: add option to setting Maximum Segment Size
Michael Niedermayer
michael at niedermayer.cc
Mon May 7 00:17:08 EEST 2018
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 <mypopydev at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180506/0f1e56ae/attachment.sig>
More information about the ffmpeg-devel
mailing list