diff options
author | wm4 <wm4@nowhere> | 2014-09-23 21:12:28 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-23 23:09:29 +0200 |
commit | 308d72a02ee673fc56b637b6134dd63ea258580c (patch) | |
tree | 48f7d3388ca7534fd9545828428c383f75bf39e6 /audio/out/ao_pcm.c | |
parent | b745c2d0050468580aec0a4e12aec854fefd1796 (diff) | |
download | mpv-308d72a02ee673fc56b637b6134dd63ea258580c.tar.bz2 mpv-308d72a02ee673fc56b637b6134dd63ea258580c.tar.xz |
ao_wasapi: fix fragile format-mapping code
This code tried to play with the format bits, and potentially could
create invalid formats, or reinterpret obscure formats in unexpected
ways.
Also there was an abort() call if the winapi or mpv used a format with
unexpected bit-width. This could probably easily happen; for example,
mpv supports at least one 64 bit format. And what would happen on 8 bit
formats anyway?
Untested.
Diffstat (limited to 'audio/out/ao_pcm.c')
0 files changed, 0 insertions, 0 deletions