summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_wasapi_utils.c
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2017-07-09 00:52:32 -0700
committerKevin Mitchell <kevmitch@gmail.com>2017-07-09 13:46:13 -0700
commita081c8d372106a4b45b597631968d7774afb5814 (patch)
treec203f39336c0fd4cfeb87662b180f722aadace22 /audio/out/ao_wasapi_utils.c
parent03abd704eccf88b3d48b91803d352c6c73a32ad5 (diff)
downloadmpv-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/out/ao_wasapi_utils.c')
0 files changed, 0 insertions, 0 deletions