diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-06-06 14:29:41 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-06-06 14:29:41 +0000 |
commit | 26e9e5c15e9895118188d77df605dacb12010e21 (patch) | |
tree | c3b012882daf1c7cd869ba25feb82ca8b73356d8 | |
parent | ca5d105d06df6836d1ac264cf3f66da83e1d4e77 (diff) | |
download | xine-lib-26e9e5c15e9895118188d77df605dacb12010e21.tar.gz xine-lib-26e9e5c15e9895118188d77df605dacb12010e21.tar.bz2 |
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
-rw-r--r-- | src/libxineadec/adpcm.c | 6 |
1 files 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 <stdio.h> @@ -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]]; |