[FFmpeg-devel] [PATCH 1/2] fix the bug that AV_PKT_FLAG_CORRUPT flags lost after parse_packet()

2020-06-13 Thread levizhao
From: zhaoyi --- libavformat/utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/utils.c b/libavformat/utils.c index 667249362c..a74c0f74a2 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -1516,6 +1516,7 @@ static int parse_packet(AVFormatContext *s, AVPacket *p

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

2020-06-13 Thread levizhao
From: zhaoyi --- libavformat/tcp.c | 204 ++ 1 file changed, 204 insertions(+) diff --git a/libavformat/tcp.c b/libavformat/tcp.c index 2198e0f00e..ca6ba2867e 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -45,6 +45,7 @@ typedef struct TCPC