From b3d856786cf4f6682a449439ce330b65e0a0c6b1 Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Mon, 15 Jul 2002 03:48:03 +0000 Subject: minor DK4 fix CVS patchset: 2273 CVS date: 2002/07/15 03:48:03 --- src/libxineadec/adpcm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/libxineadec/adpcm.c b/src/libxineadec/adpcm.c index 84fa79189..5889c80b6 100644 --- a/src/libxineadec/adpcm.c +++ b/src/libxineadec/adpcm.c @@ -24,7 +24,7 @@ * formats can be found here: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: adpcm.c,v 1.8 2002/07/05 17:32:04 mroi Exp $ + * $Id: adpcm.c,v 1.9 2002/07/15 03:48:03 tmmm Exp $ */ #include @@ -851,7 +851,7 @@ static void adpcm_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) { * initial predictor is also the first output sample (hence * the +1) */ this->out_block_size = - (this->in_block_size - (4 * this->channels)) * 2 + 1; + (this->in_block_size - (4 * this->channels)) * 2 + this->channels; break; case BUF_AUDIO_DK3ADPCM: -- cgit v1.2.3