diff options
author | Marton Balint <cus@passwd.hu> | 2020-10-09 21:37:07 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2020-10-28 21:41:04 +0100 |
commit | 074b2032e63e290e352dd6859e7f858276c9576a (patch) | |
tree | 5aeaf72bd155f79f314da55d21cf79bb224189bf /doc/examples/decode_video.c | |
parent | 8a2acdc6da97f91b50b61f4b41a2430e4270602b (diff) | |
download | ffmpeg-074b2032e63e290e352dd6859e7f858276c9576a.tar.gz |
avformat/libsrt: fix cleanups on failed libsrt_open() and libsrt_setup()
- Call srt_epoll_release() to avoid fd leak on libsrt_setup() error.
- Call srt_cleanup() on libsrt_open() failure.
- Fix return value and method on mode parsing failure.
Based on a patch by Nicolas Sugino <nsugino@3way.com.ar>.
Signed-off-by: Marton Balint <cus@passwd.hu>
(cherry picked from commit fb0304fcc9f79a4c9cbdf347f20f484529f169ba)
Diffstat (limited to 'doc/examples/decode_video.c')
0 files changed, 0 insertions, 0 deletions