From 26e9e5c15e9895118188d77df605dacb12010e21 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Fri, 6 Jun 2003 14:29:41 +0000 Subject: This #ifdef should come before the if, since this if (cond) #ifdef LOG foo; #endif bar; is bad. CVS patchset: 5010 CVS date: 2003/06/06 14:29:41 --- src/libxineadec/adpcm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libxineadec/adpcm.c b/src/libxineadec/adpcm.c index 98e605c73..4678adf51 100644 --- a/src/libxineadec/adpcm.c +++ b/src/libxineadec/adpcm.c @@ -31,7 +31,7 @@ * this is also useful for extracting streams from Playstation discs * * - * $Id: adpcm.c,v 1.30 2003/05/26 11:33:01 hadess Exp $ + * $Id: adpcm.c,v 1.31 2003/06/06 14:29:41 mroi Exp $ */ #include @@ -753,9 +753,9 @@ static void ms_adpcm_decode_block(adpcm_decoder_t *this, buf_element_t *buf) { upper_nibble = 1; current_channel = 0; out_ptr = 0; - if (this->buf[j] > 6) #ifdef LOG - printf("MS ADPCM: coefficient (%d) out of range (should be [0..6])\n", + if (this->buf[j] > 6) + printf("MS ADPCM: coefficient (%d) out of range (should be [0..6])\n", this->buf[j]); #endif coeff1[0] = ms_adapt_coeff1[this->buf[j]]; -- cgit v1.2.3