[vlc-commits] [Git][videolan/vlc][master] mtp: fix vlc_once() usage

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Tue Nov 23 15:27:29 UTC 2021



Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
ec6f331b by Romain Vimont at 2021-11-23T15:12:01+00:00
mtp: fix vlc_once() usage

Commit 47a0033894e912e978feefea6b466de53a705610 added the wrapper
function, but did not call it.

- - - - -


1 changed file:

- modules/services_discovery/mtp.c


Changes:

=====================================
modules/services_discovery/mtp.c
=====================================
@@ -101,7 +101,7 @@ static int Open( vlc_object_t *p_this )
 
     static vlc_once_t mtp_init_once = VLC_STATIC_ONCE;
 
-    vlc_once(&mtp_init_once, LIBMTP_Init, NULL);
+    vlc_once(&mtp_init_once, vlc_libmtp_init, NULL);
 
     if (vlc_clone (&p_sys->thread, Run, p_sd, VLC_THREAD_PRIORITY_LOW))
     {



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ec6f331b4219437812708eb82a762a692aff7336

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ec6f331b4219437812708eb82a762a692aff7336
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list