Mercurial > libavcodec.hg
changeset 11716:fcb1d0addf28 libavcodec
Fix compilation with low precission mpeg audio decoding.
author | michael |
---|---|
date | Thu, 13 May 2010 10:04:31 +0000 |
parents | a0f514fb84d6 |
children | 269ce565c70b |
files | mpegaudiodec.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
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