Commit 6a747ce9 authored by Laurent Aimar's avatar Laurent Aimar Committed by Derk-Jan Hartman

Really used a weaker lock for input_ressource_HoldAout.

(cherry picked from commit 1ba525b0)
Signed-off-by: default avatarDerk-Jan Hartman <hartman@videolan.org>
parent 82ae423a
...@@ -489,11 +489,7 @@ aout_instance_t *input_resource_RequestAout( input_resource_t *p_resource, aout_ ...@@ -489,11 +489,7 @@ aout_instance_t *input_resource_RequestAout( input_resource_t *p_resource, aout_
} }
aout_instance_t *input_resource_HoldAout( input_resource_t *p_resource ) aout_instance_t *input_resource_HoldAout( input_resource_t *p_resource )
{ {
vlc_mutex_lock( &p_resource->lock ); return HoldAout( p_resource );
aout_instance_t *p_ret = HoldAout( p_resource );
vlc_mutex_unlock( &p_resource->lock );
return p_ret;
} }
/* */ /* */
sout_instance_t *input_resource_RequestSout( input_resource_t *p_resource, sout_instance_t *p_sout, const char *psz_sout ) sout_instance_t *input_resource_RequestSout( input_resource_t *p_resource, sout_instance_t *p_sout, const char *psz_sout )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment