[vlc-commits] resource: remove (now) dead code
Rémi Denis-Courmont
git at videolan.org
Fri Jan 18 22:12:44 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jan 18 19:44:33 2019 +0200| [92427d79236671573d0d6497f8ca9b94ebb7bbb4] | committer: Rémi Denis-Courmont
resource: remove (now) dead code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=92427d79236671573d0d6497f8ca9b94ebb7bbb4
---
src/input/resource.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/src/input/resource.c b/src/input/resource.c
index cd18508b86..fd7d855a76 100644
--- a/src/input/resource.c
+++ b/src/input/resource.c
@@ -199,16 +199,6 @@ static vout_thread_t *RequestVout( input_resource_t *p_resource,
{
vlc_mutex_assert( &p_resource->lock );
- if( !req_cfg )
- {
- if( p_resource->p_vout_free )
- {
- msg_Dbg( p_resource->p_vout_free, "destroying useless vout" );
- vout_CloseAndRelease( p_resource->p_vout_free );
- p_resource->p_vout_free = NULL;
- }
- return NULL;
- }
vout_configuration_t cfg = *req_cfg;
if( cfg.fmt )
More information about the vlc-commits
mailing list