summaryrefslogtreecommitdiffstats
path: root/audio/fmt-conversion.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-04-20 07:33:13 +0200
committerwm4 <wm4@nowhere>2017-04-20 07:33:13 +0200
commit05e6d423d9211d940a247ae23c99198985f20cb3 (patch)
tree46fc2d568df3e2beab288d7a6b0795061bfd2af4 /audio/fmt-conversion.h
parent5ae25ae42449b29edcb5d4561ef83f950fd26683 (diff)
downloadmpv-05e6d423d9211d940a247ae23c99198985f20cb3.tar.bz2
mpv-05e6d423d9211d940a247ae23c99198985f20cb3.tar.xz
ao_wasapi_changenotify: fix potential race condition
IMMDeviceEnumerator_RegisterEndpointNotificationCallback() will start listening for notifications, and is the point at which callbacks can start firing. These callbacks will read the fields we set after the register calls, which is a potential race condition. Move it upwards.
Diffstat (limited to 'audio/fmt-conversion.h')
0 files changed, 0 insertions, 0 deletions