diff options
author | Max Kellermann <max@duempel.org> | 2008-11-30 14:25:56 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-30 14:25:56 +0100 |
commit | f600f4a25619912080989912810543c80eebdee3 (patch) | |
tree | 488089fe771d697ca277d80f1bb7754ad710b244 /src/replay_gain.c | |
parent | a7b692a1df0a064350b6746f3ca207e1f288822c (diff) | |
download | mpd-f600f4a25619912080989912810543c80eebdee3.tar.gz mpd-f600f4a25619912080989912810543c80eebdee3.tar.xz mpd-f600f4a25619912080989912810543c80eebdee3.zip |
shout: fixed the lame input buffer allocation
"float (*lamebuf)[2] = g_malloc()" does NOT allocate two float*
buffers. The formula is even wrong: it should be applied to LAME's
output buffer, not its input buffer.
Converted "lamebuf" to the two variables "left" and "right", and
allocate them independently with the exact buffer size. Set
right=left if mono output is configured.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions