diff options
author | Max Kellermann <max@duempel.org> | 2008-11-18 22:45:51 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-18 22:45:51 +0100 |
commit | 362ca300d6daec137d0a5a2b639f0f74f2929221 (patch) | |
tree | 8853a0d843b40aba885dbb29dae2f4dc14297323 /src/decoder/mpc_plugin.c | |
parent | 33b5015469e13f5dbd8c4005eda5c93f67ade093 (diff) | |
download | mpd-362ca300d6daec137d0a5a2b639f0f74f2929221.tar.gz mpd-362ca300d6daec137d0a5a2b639f0f74f2929221.tar.xz mpd-362ca300d6daec137d0a5a2b639f0f74f2929221.zip |
decoder: pass the correct buffer length to pcm_convert()
When a global audio format is configured (setting
"audio_output_format"), decoder_data() overwrote the "length"
parameter with the size of the output buffer (result of
pcm_convert_size()). Declare a separate variable for the output
buffer length.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions