From 2e9169de9d859fd5d5629a4d1b3789155a5dac62 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:06 +0200 Subject: 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. --- src/outputBuffer.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/outputBuffer.c') 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; -- cgit v1.2.3