diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2017-07-09 00:52:32 -0700 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2017-07-09 13:46:13 -0700 |
commit | a081c8d372106a4b45b597631968d7774afb5814 (patch) | |
tree | c203f39336c0fd4cfeb87662b180f722aadace22 /audio/format.c | |
parent | 03abd704eccf88b3d48b91803d352c6c73a32ad5 (diff) | |
download | mpv-a081c8d372106a4b45b597631968d7774afb5814.tar.bz2 mpv-a081c8d372106a4b45b597631968d7774afb5814.tar.xz |
audio/out: correct copy length in ao_read_data_converted
Previously, the entire convert_buffer was being copied to the desination without
regard to the fact that it may be packed and therefore smaller.
The allocated conversion buffer was also way to big
bytes * (channels * samples) ** 2
instead of
bytes * channels * samples
Diffstat (limited to 'audio/format.c')
0 files changed, 0 insertions, 0 deletions