1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 16:33:02 +00:00

ao_coreaudio: fix out of bounds access

ca_label_to_mp_speaker_id() checked whether the last entry was >= 0, but
actually this condition was never true, and MP_SPEAKER_ID_UNKNOWN0 is
not negative.
This commit is contained in:
wm4 2015-05-04 23:54:38 +02:00
parent b6381a0ee3
commit eead97f103