[FFmpeg-devel] [PATCH] libavforamt/tls: Memory allocation failure check

2023-03-03 Thread jackarain
Signed-off-by: jackarain --- libavformat/tls.c | 26 -- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/libavformat/tls.c b/libavformat/tls.c index e42d399862..b9d3426331 100644 --- a/libavformat/tls.c +++ b/libavformat/tls.c @@ -30,15 +30,18 @@ #include

[FFmpeg-devel] [PATCH] libavforamt/udp: Memory allocation failure check

2023-03-03 Thread jackarain
Signed-off-by: jackarain --- libavformat/udp.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/udp.c b/libavformat/udp.c index e8980b29d8..909213a467 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -740,6 +740,10 @@ static int udp_open(URLContext *h, const char *uri

[FFmpeg-devel] [PATCH] libavformat/tcp: add local_addr/local_port for network option

2023-03-03 Thread jackarain
Signed-off-by: jackarain --- doc/protocols.texi| 6 + libavformat/network.c | 14 libavformat/network.h | 2 +- libavformat/tcp.c | 53 +-- 4 files changed, 68 insertions(+), 7 deletions(-) diff --git a/doc/protocols.texi b/doc

[FFmpeg-devel] [PATCH] libavformat/tcp: add local_addr/local_port for network option

2023-03-01 Thread jackarain
Signed-off-by: jackarain --- doc/protocols.texi| 6 + libavformat/network.c | 14 libavformat/network.h | 2 +- libavformat/tcp.c | 53 ++- 4 files changed, 69 insertions(+), 6 deletions(-) diff --git a/doc/protocols.texi b/doc

[FFmpeg-devel] [PATCH] libavformat/tcp: add local_addr/local_port for network option

2023-03-01 Thread jackarain
Signed-off-by: jackarain --- doc/protocols.texi| 6 + libavformat/network.c | 14 libavformat/network.h | 2 +- libavformat/tcp.c | 53 ++- 4 files changed, 69 insertions(+), 6 deletions(-) diff --git a/doc/protocols.texi b/doc

Re: [FFmpeg-devel] [PATCH] libavformat/tcp: add local_addr/local_port for network option

2023-03-01 Thread jackarain
Ok, thanks. Anton Khirnov 于2023年3月1日周三 22:44写道: > Quoting jackarain (2023-02-28 16:44:20) > > -static void customize_fd(void *ctx, int fd) > > +static int customize_fd(void *ctx, int fd) > > { > > TCPContext *s = ctx; > > + > >

[FFmpeg-devel] [PATCH] libavformat/tcp: add local_addr/local_port for network option

2023-02-28 Thread jackarain
Signed-off-by: jackarain --- doc/protocols.texi| 6 ++ libavformat/network.c | 14 + libavformat/network.h | 2 +- libavformat/tcp.c | 49 ++- 4 files changed, 65 insertions(+), 6 deletions(-) diff --git a/doc/protocols.texi b

Re: [FFmpeg-devel] [PATCH] libavformat/tcp: add local_addr/local_port for network option

2023-02-28 Thread jackarain
Done. Nicolas George 于2023年2月28日周二 18:57写道: > jack (12023-02-28): > > Signed-off-by: jack > > --- > > libavformat/tcp.c | 44 > > 1 file changed, 44 insertions(+) > > Thanks for the patch > > You neglected to update the documentation, and a few rema

[FFmpeg-devel] [PATCH] libavformat/tcp: add local_addr/local_port for network option

2023-02-28 Thread jackarain
Signed-off-by: jackarain --- doc/protocols.texi| 6 ++ libavformat/network.c | 14 + libavformat/network.h | 2 +- libavformat/tcp.c | 48 ++- 4 files changed, 64 insertions(+), 6 deletions(-) diff --git a/doc/protocols.texi b