aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/codec2.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2020-10-09 21:37:07 +0200
committerMarton Balint <cus@passwd.hu>2020-10-16 23:15:09 +0200
commitfb0304fcc9f79a4c9cbdf347f20f484529f169ba (patch)
tree15bdcf6d2df6bf2e2c8c343b6436461a5f6c28f2 /libavformat/codec2.c
parente704750a9f51b4d3fd9a334da75d781e18a9e00c (diff)
downloadffmpeg-fb0304fcc9f79a4c9cbdf347f20f484529f169ba.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>
Diffstat (limited to 'libavformat/codec2.c')
0 files changed, 0 insertions, 0 deletions