aboutsummaryrefslogtreecommitdiffhomepage
path: root/demux/demux_raw.c
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-09-23 21:12:28 +0200
committerGravatar wm4 <wm4@nowhere>2014-09-23 23:09:29 +0200
commit308d72a02ee673fc56b637b6134dd63ea258580c (patch)
tree48f7d3388ca7534fd9545828428c383f75bf39e6 /demux/demux_raw.c
parentb745c2d0050468580aec0a4e12aec854fefd1796 (diff)
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 'demux/demux_raw.c')
0 files changed, 0 insertions, 0 deletions