diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-05-13 14:04:31 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-05-13 14:04:31 +0400 |
commit | bfbdc58e521bc8aa750ce9a1be3bc57ce1c85d53 (patch) | |
tree | 83e1f89fa326bf216a1c0c16ff952f52d5f18108 /libavcodec/mpegaudiodec.c | |
parent | 3e48d792b6907c9c9f2dd3b72735345e7aab221b (diff) |
Fix compilation with low precission mpeg audio decoding.
Originally committed as revision 23107 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r-- | libavcodec/mpegaudiodec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index b12939f566..89f79f3a52 100644 --- a/libavcodec/mpegaudiodec.c +++ b/libavcodec/mpegaudiodec.c @@ -847,8 +847,7 @@ void RENAME(ff_mpa_synth_filter)(MPA_INT *synth_buf_ptr, int *synth_buf_offset, 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 |