diff options
author | wm4 <wm4@nowhere> | 2016-11-08 17:46:42 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-11-08 17:49:40 +0100 |
commit | 33012b4141fda7aaa35ba3eee32f31265ed837cc (patch) | |
tree | 593f312b5d0bfe00b38849dc9528bb90758fb86d /TOOLS | |
parent | 1d51dc20eadd0873b1870d14e7156aa03c67e511 (diff) | |
download | mpv-33012b4141fda7aaa35ba3eee32f31265ed837cc.tar.bz2 mpv-33012b4141fda7aaa35ba3eee32f31265ed837cc.tar.xz |
ao_alsa: fill unused ALSA channels with silence
This happens when ALSA gives us more channels than we asked for, for
whatever reasons. It looks like this wasn't handled correctly. The mpv
and ALSA channel counts could mismatch, which would lead to UB.
I couldn't actually trigger this case, though. I'm fairly sure that
drivers or plugins exist that do it anyway. (Inofficial ALSA motto: if
it can be broken, then why not break it?)
Diffstat (limited to 'TOOLS')
0 files changed, 0 insertions, 0 deletions