[vlc-commits] lib: vlm: pass a non-NULL pointer as event object

Rémi Denis-Courmont git at videolan.org
Mon May 15 21:32:54 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon May 15 21:28:38 2017 +0300| [7741bf6decd0141dfca394b5ff0d41212ed2fa8e] | committer: Rémi Denis-Courmont

lib: vlm: pass a non-NULL pointer as event object

(It is a useless value though.)

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

 lib/vlm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/vlm.c b/lib/vlm.c
index 2c3b4d4079..980499f0ce 100644
--- a/lib/vlm.c
+++ b/lib/vlm.c
@@ -134,7 +134,7 @@ static int libvlc_vlm_init( libvlc_instance_t *p_instance )
             return VLC_ENOMEM;
         p_instance->vlm->p_vlm = NULL;
         libvlc_event_manager_init( &p_instance->vlm->event_manager,
-                                   &p_instance->vlm->p_vlm );
+                                   p_instance->vlm );
     }
 
     if( !p_instance->vlm->p_vlm )



More information about the vlc-commits mailing list