[vlc-commits] sap: remove incorrect assert

Rémi Denis-Courmont git at videolan.org
Mon Feb 6 22:03:56 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Feb  6 23:03:05 2017 +0200| [5a45d7b024d03bb0d2c7f5ea77b01c645b9e4860] | committer: Rémi Denis-Courmont

sap: remove incorrect assert

(I would think that the bug is contextually obvious but...)

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

 modules/services_discovery/sap.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/services_discovery/sap.c b/modules/services_discovery/sap.c
index 2de7e50..d18e508 100644
--- a/modules/services_discovery/sap.c
+++ b/modules/services_discovery/sap.c
@@ -617,7 +617,6 @@ static int Demux( demux_t *p_demux )
     input_thread_t *p_input = p_demux->p_input;
     input_item_t *p_parent_input;
 
-    assert( p_input );
     if( !p_input )
     {
         msg_Err( p_demux, "parent input could not be found" );



More information about the vlc-commits mailing list