# HG changeset patch # User michael # Date 1273745071 0 # Node ID fcb1d0addf28dc37f5c56f84f3a210acf48a2d12 # Parent a0f514fb84d67f285ef24f647f7732247c443bae Fix compilation with low precission mpeg audio decoding. diff -r a0f514fb84d6 -r fcb1d0addf28 mpegaudiodec.c --- a/mpegaudiodec.c Thu May 13 10:02:48 2010 +0000 +++ b/mpegaudiodec.c Thu May 13 10:04:31 2010 +0000 @@ -847,8 +847,7 @@ offset = *synth_buf_offset; synth_buf = synth_buf_ptr + offset; -#if FRAC_BITS <= 15 - assert(!CONFIG_FLOAT); +#if FRAC_BITS <= 15 && !CONFIG_FLOAT dct32(tmp, sb_samples); for(j=0;j<32;j++) { /* NOTE: can cause a loss in precision if very high amplitude