Mercurial > libavcodec.hg
diff mpegaudiodec.c @ 11716:fcb1d0addf28 libavcodec
Fix compilation with low precission mpeg audio decoding.
author | michael |
---|---|
date | Thu, 13 May 2010 10:04:31 +0000 |
parents | 7ca3795af11b |
children | 5aa83c5fb2c9 |
line wrap: on
line diff
--- 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