[FFmpeg-devel] [PATCH 2/2] add socks5 support for tcp clients

Michael Niedermayer michael at niedermayer.cc
Sun Jun 14 20:07:21 EEST 2020


On Sat, Jun 13, 2020 at 11:17:41PM +0800, levizhao at live.cn wrote:
> From: zhaoyi <levizhao at live.cn>
> 
> ---
>  libavformat/tcp.c | 204 ++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 204 insertions(+)

seems to break build on mingw64
AR	libavdevice/libavdevice.a
AR	libavfilter/libavfilter.a
CC	libavformat/tcp.o
src/libavformat/tcp.c: In function ‘tcp_open2’:
src/libavformat/tcp.c:338:9: error: unknown type name ‘in_addr_t’; did you mean ‘in_addr6’?
         in_addr_t addr;
         ^~~~~~~~~
         in_addr6
src/ffbuild/common.mak:59: recipe for target 'libavformat/tcp.o' failed
make: *** [libavformat/tcp.o] Error 1

[..]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200614/6ef9ca4e/attachment.sig>


More information about the ffmpeg-devel mailing list