diff options
author | wm4 <wm4@nowhere> | 2013-06-07 15:58:28 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-06-07 15:58:28 +0200 |
commit | e54ab16d1a0305938f331f33e843a152f237fb55 (patch) | |
tree | 7f73dc3c7de8466588c86fb332b16f805a9d0c6c /demux/ms_hdr.h | |
parent | 4e6098ed498c0d4b736f4e0dd9eb5b7e3a08c5b4 (diff) | |
download | mpv-e54ab16d1a0305938f331f33e843a152f237fb55.tar.bz2 mpv-e54ab16d1a0305938f331f33e843a152f237fb55.tar.xz |
ao_jack: align data sizes on audio frame size
Fixes crashes when playing with certain numbers of channels. The core
assumes AOs accept data aligned on channels * samplesize, and ao_jack's
play() function broke that assumption:
mpv: core/mplayer.c:2348: fill_audio_out_buffers: Assertion `played % unitsize == 0' failed.
Fix by aligning the buffer and chunk sizes as needed.
Diffstat (limited to 'demux/ms_hdr.h')
0 files changed, 0 insertions, 0 deletions