summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_coreaudio_exclusive.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-28 17:21:49 +0200
committerwm4 <wm4@nowhere>2015-09-28 22:03:14 +0200
commit144571da9b5b595d7bb49822e78887771554b68b (patch)
treed04075e62a604da01327f50c014589075ef3f395 /audio/out/ao_coreaudio_exclusive.c
parent8aa8417aa35fd30990a1695380f22179848c6463 (diff)
downloadmpv-144571da9b5b595d7bb49822e78887771554b68b.tar.bz2
mpv-144571da9b5b595d7bb49822e78887771554b68b.tar.xz
ao_coreaudio_utils: fix error handling in device listing code
This could sometimes cause crashes in hotplug events. (Apparently in cases when CoreAudio changes its state asynchronously, or such.) CA_GET_STR() does not set the string if there was an error, so errors have to be strictly checked before using it.
Diffstat (limited to 'audio/out/ao_coreaudio_exclusive.c')
0 files changed, 0 insertions, 0 deletions