mpv/audio/out
wm4 72d3c5ef00 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.
2015-10-26 15:51:59 +01:00
..
ao.c audio: add option for falling back to ao_null 2015-10-05 19:12:23 +02:00
ao.h audio: add option for falling back to ao_null 2015-10-05 19:12:23 +02:00
ao_alsa.c ao_alsa: log format probing in verbose mode 2015-10-25 20:09:38 +01:00
ao_coreaudio.c ao_coreaudio: avoid unnecessary format changes 2015-10-21 18:54:36 +02:00
ao_coreaudio_chmap.c ao_coreaudio: fix potential UB in error cases 2015-10-26 15:51:59 +01:00
ao_coreaudio_chmap.h ao_coreaudio_exclusive: deal with devices return different channel count 2015-10-21 18:54:48 +02:00
ao_coreaudio_exclusive.c ao_coreaudio_exclusive: fix build 2015-10-21 22:18:41 +02:00
ao_coreaudio_properties.c
ao_coreaudio_properties.h
ao_coreaudio_utils.c ao_coreaudio: log current format before setting new format 2015-10-21 18:53:50 +02:00
ao_coreaudio_utils.h ao_coreaudio: fix device latency, share the code 2015-07-06 17:49:28 +02:00
ao_dsound.c win32: revert wchar_t changes 2015-08-01 21:09:11 +02:00
ao_jack.c
ao_lavc.c ao_lavc: minor simplification 2015-09-11 09:01:49 +02:00
ao_null.c
ao_openal.c
ao_oss.c ao_oss: use new sample format determination code 2015-09-10 23:39:46 +02:00
ao_pcm.c audio: fix format function consistency issues 2015-06-26 23:06:37 +02:00
ao_pulse.c audio: fix format function consistency issues 2015-06-26 23:06:37 +02:00
ao_rsound.c audio: remove S8, U16, U24, U32 formats 2015-06-16 21:11:59 +02:00
ao_sdl.c audio: remove S8, U16, U24, U32 formats 2015-06-16 21:11:59 +02:00
ao_sndio.c ao_sndio: fix comment 2015-06-26 23:03:37 +02:00
ao_wasapi.c win32: revert wchar_t changes 2015-08-01 21:09:11 +02:00
ao_wasapi.h
ao_wasapi_changenotify.c win32: revert wchar_t changes 2015-08-01 21:09:11 +02:00
ao_wasapi_utils.c win32: revert wchar_t changes 2015-08-01 21:09:11 +02:00
ao_wasapi_utils.h
internal.h
pull.c
push.c audio: fix format function consistency issues 2015-06-26 23:06:37 +02:00