[vlc-commits] input: remove obsolete assertion

Rémi Denis-Courmont git at videolan.org
Thu Nov 1 16:47:37 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Nov  1 17:45:11 2012 +0200| [10b7533ae1e647537d94e931667ed60caee1c67a] | committer: Rémi Denis-Courmont

input: remove obsolete assertion

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=10b7533ae1e647537d94e931667ed60caee1c67a
---

 src/input/resource.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/src/input/resource.c b/src/input/resource.c
index c2b16d4..25f979b 100644
--- a/src/input/resource.c
+++ b/src/input/resource.c
@@ -71,7 +71,6 @@ struct input_resource_t
     vout_thread_t   **pp_vout;
     int             i_vout;
 
-    /* TODO? track more than one audio output (like video outputs) */
     bool            b_aout_busy;
     audio_output_t *p_aout;
 };
@@ -350,7 +349,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 );
 



More information about the vlc-commits mailing list