diff options
author | wm4 <wm4@nowhere> | 2015-10-26 15:51:59 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-26 15:51:59 +0100 |
commit | 72d3c5ef00a71f4620279e0883c86894f145939d (patch) | |
tree | d4c2e1a1ad10a114fdd56ba26b06f4e2308fc854 /.gitignore | |
parent | 81109dcbb6093f7c4298a1c677a2d06cea5107d8 (diff) |
ao_coreaudio: fix potential UB in error cases
mNumberChannelDescriptions being 0 is pretty much an error, but if it
can happen, then the code checking the chmap below will trigger UB, as
chmap is not initialized at all.
Also, simplify the code a little: we never change the number of
channels, so this is just fine.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions