[vlc-commits] srt out: remove redundant code
Rémi Denis-Courmont
git at videolan.org
Mon Jul 2 20:52:21 CEST 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 1 21:37:10 2018 +0300| [ae882e18727ab6f3761c982254b2e61d122fb8ef] | committer: Rémi Denis-Courmont
srt out: remove redundant code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ae882e18727ab6f3761c982254b2e61d122fb8ef
---
modules/access_output/srt.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/modules/access_output/srt.c b/modules/access_output/srt.c
index 3dffed96b5..2b634746ec 100644
--- a/modules/access_output/srt.c
+++ b/modules/access_output/srt.c
@@ -403,9 +403,6 @@ failed:
{
if ( p_sys->sock != -1 ) srt_close( p_sys->sock );
if ( p_sys->i_poll_id != -1 ) srt_epoll_release( p_sys->i_poll_id );
-
- vlc_obj_free( p_this, p_sys );
- p_access->p_sys = NULL;
}
return VLC_EGENERIC;
@@ -423,9 +420,6 @@ static void Close( vlc_object_t * p_this )
srt_epoll_remove_usock( p_sys->i_poll_id, p_sys->sock );
srt_close( p_sys->sock );
srt_epoll_release( p_sys->i_poll_id );
-
- vlc_obj_free( p_this, p_sys );
- p_access->p_sys = NULL;
}
srt_cleanup();
More information about the vlc-commits
mailing list