[vlc-devel] [PATCH] Remove useless assertion

KO Myung-Hun komh78 at gmail.com
Thu Nov 1 14:06:35 CET 2012


This assertion makes playing an audio two times to lead to SIGABRT.
---
 src/input/resource.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/input/resource.c b/src/input/resource.c
index c2b16d4..fc216af 100644
--- a/src/input/resource.c
+++ b/src/input/resource.c
@@ -350,7 +350,6 @@ audio_output_t *input_resource_GetAout( input_resource_t *p_resource )
     if( p_aout != NULL )
     {
         vlc_mutex_lock( &p_resource->lock_hold );
-        assert( p_resource->p_aout == NULL );
         p_resource->p_aout = p_aout;
         vlc_mutex_unlock( &p_resource->lock_hold );
 
-- 
1.7.3.2




More information about the vlc-devel mailing list