[vlc-commits] sout: remove useless input_resource_Terminate() call
Thomas Guillem
git at videolan.org
Fri Jun 28 09:11:07 CEST 2019
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Jun 27 10:05:44 2019 +0200| [f45fa869a5cd3e9284a6f1e3a937e43ef709ba42] | committer: Thomas Guillem
sout: remove useless input_resource_Terminate() call
Since the resource is released just after (and therefore terminated).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f45fa869a5cd3e9284a6f1e3a937e43ef709ba42
---
modules/stream_out/display.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/stream_out/display.c b/modules/stream_out/display.c
index 0402a4bcc7..32562329b7 100644
--- a/modules/stream_out/display.c
+++ b/modules/stream_out/display.c
@@ -132,7 +132,6 @@ static void Close( vlc_object_t * p_this )
sout_stream_t *p_stream = (sout_stream_t*)p_this;
sout_stream_sys_t *p_sys = p_stream->p_sys;
- input_resource_Terminate( p_sys->p_resource );
input_resource_Release( p_sys->p_resource );
free( p_sys );
}
More information about the vlc-commits
mailing list