summaryrefslogtreecommitdiffstats
path: root/audio/chmap.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-04 23:54:38 +0200
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-05-07 10:46:36 +0900
commite0ad4ec8aab298eefbe74f146028c5eea7e66a1d (patch)
tree7328838512b4ed3f3f9876aedf6b5210caefaa0e /audio/chmap.c
parent8a46b5b711fcc7fc41bea1f2f9046b4b1f313e56 (diff)
downloadmpv-e0ad4ec8aab298eefbe74f146028c5eea7e66a1d.tar.bz2
mpv-e0ad4ec8aab298eefbe74f146028c5eea7e66a1d.tar.xz
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. (cherry picked from commit eead97f10303436b8da1c75dcdaa79efaba5b015)
Diffstat (limited to 'audio/chmap.c')
0 files changed, 0 insertions, 0 deletions