aboutsummaryrefslogtreecommitdiffstats
path: root/src/state_file.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-18 22:45:51 +0100
committerMax Kellermann <max@duempel.org>2008-11-18 22:45:51 +0100
commit362ca300d6daec137d0a5a2b639f0f74f2929221 (patch)
tree8853a0d843b40aba885dbb29dae2f4dc14297323 /src/state_file.c
parent33b5015469e13f5dbd8c4005eda5c93f67ade093 (diff)
downloadmpd-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 'src/state_file.c')
0 files changed, 0 insertions, 0 deletions