aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:06 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:06 +0200
commit2e9169de9d859fd5d5629a4d1b3789155a5dac62 (patch)
tree3c4db7795105ebbd9651fd946b047bf642fc2590 /src/outputBuffer.c
parent1b845f94a0a75bd6cc21ac666c9c0ab04362dd80 (diff)
downloadmpd-2e9169de9d859fd5d5629a4d1b3789155a5dac62.tar.gz
mpd-2e9169de9d859fd5d5629a4d1b3789155a5dac62.tar.xz
mpd-2e9169de9d859fd5d5629a4d1b3789155a5dac62.zip
moved convState to struct decoder
Since we moved all PCM conversions to decoder_data(), the attribute convState isn't being used anymore by the OutputBuffer code. Move it to struct decoder.
Diffstat (limited to 'src/outputBuffer.c')
-rw-r--r--src/outputBuffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c
index fc19dbc5e..e500e6860 100644
--- a/src/outputBuffer.c
+++ b/src/outputBuffer.c
@@ -25,7 +25,6 @@ void ob_init(unsigned int size, Notify *notify)
{
assert(size > 0);
- memset(&ob.convState, 0, sizeof(ConvState));
ob.chunks = xmalloc(size * sizeof(*ob.chunks));
ob.size = size;
ob.begin = 0;