Call srt_epoll_release() to avoid fd leak on libsrt_open() error.
---
libavformat/libsrt.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c
index 4025b24976..6da372081e 100644
--- a/libavformat/libsrt.c
+++ b/libavform
In listener mode the first fd is not closed when libsrt_close() is called
because it is overwritten by the new accept fd.
Added the listen_fd to the context to properly close it when libsrt_close() is
called.
Fixes trac ticket #8372
Signed-off-by: Nicolas Sugino
---
libavformat/libsrt.c | 12
El jue., 13 ago. 2020 a las 3:56, Marton Balint () escribió:
>
>
>
> On Thu, 13 Aug 2020, Nicolas Sugino wrote:
>
> > In listener mode the first fd is not closed when libsrt_close() is called
> > because it is overwritten by the new accept fd.
> > Added the lis
In listener mode the first fd is not closed when libsrt_close() is called
because it is overwritten by the new accept fd.
Added the listen_fd to the context to properly close it when libsrt_close() is
called.
Fixes trac ticket #8372
Signed-off-by: Nicolas Sugino
---
libavformat/libsrt.c | 10
In listener mode the first fd is not closed when libsrt_close() is called
because it is overwritten by the new accept fd.
Added the listen_fd to the context to properly close it when libsrt_close() is
called.
Fixes trac ticket #8372
Signed-off-by: Nicolas Sugino
---
libavformat/libsrt.c | 10
In listener mode the first fd is not closed when libsrt_close() is called
because it is overwritten by the new accept fd.
Added the listen_fd to the context to properly close it when libsrt_close() is
called.
Signed-off-by: Nicolas Sugino
---
libavformat/libsrt.c | 8 +++-
1 file changed