[vlc-commits] bridge: Don't assign a boolean to a pointer

Hugo Beauzée-Luyssen git at videolan.org
Thu Feb 16 09:54:11 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Feb 15 14:28:45 2017 +0100| [3bf994034fcc74348fac05f37cc0bf8d83ce67ff] | committer: Hugo Beauzée-Luyssen

bridge: Don't assign a boolean to a pointer

Fix #18019

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

 modules/stream_out/bridge.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_out/bridge.c b/modules/stream_out/bridge.c
index 3e588a7..4e140f0 100644
--- a/modules/stream_out/bridge.c
+++ b/modules/stream_out/bridge.c
@@ -310,7 +310,7 @@ static void DelOut( sout_stream_t *p_stream, sout_stream_id_sys_t *id )
 
     p_es->b_empty = true;
     block_ChainRelease( p_es->p_block );
-    p_es->p_block = false;
+    p_es->p_block = NULL;
 
     p_es->b_changed = true;
     vlc_mutex_unlock( &lock );



More information about the vlc-commits mailing list