vlc | branch: master | Marvin Scholz <[email protected]> | Sat Feb 22 02:57:01 
2020 +0100| [b13c3c10d6b8904b53e4b8f97ec46272dfcb7c32] | committer: Marvin 
Scholz

aout/coreaudio: use vlc_mutex_t instead of pthread_mutex_t

The fact that currently vlc_mutex_t is the same as pthread_mutex_t
is an implementation detail, there is no reason not to use vlc_mutex_t
here.

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

 modules/audio_output/coreaudio_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_output/coreaudio_common.h 
b/modules/audio_output/coreaudio_common.h
index 49f6779234..4bd6139493 100644
--- a/modules/audio_output/coreaudio_common.h
+++ b/modules/audio_output/coreaudio_common.h
@@ -72,7 +72,7 @@ struct aout_sys_common
 #pragma clang diagnostic ignored "-Wpartial-availability"
         os_unfair_lock  unfair;
 #pragma clang diagnostic pop
-        pthread_mutex_t mutex;
+        vlc_mutex_t     mutex;
     } lock;
 
     int                 i_rate;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to