[vlc-commits] aout/coreaudio: use vlc_mutex_t instead of pthread_mutex_t
Marvin Scholz
git at videolan.org
Mon Feb 24 14:56:55 CET 2020
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | 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;
More information about the vlc-commits
mailing list