diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-01-27 18:20:43 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-01-28 05:15:35 +0300 |
commit | 733dbe7d18c267728ef03762d83e9e1b086668cd (patch) | |
tree | 41345c1989e46631e4209c3b09206b0fd45bc54a /libavcodec/binkaudio.c | |
parent | 2f7d8977bcdeb2c39fd9acbd753d605298824db8 (diff) |
Remove the add bias hack for the C version of DSPContext.float_to_int16_*().
(cherry picked from commit 9d06d7bce3babb82ed650c13ed13a57f6f626a71)
Diffstat (limited to 'libavcodec/binkaudio.c')
-rw-r--r-- | libavcodec/binkaudio.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/binkaudio.c b/libavcodec/binkaudio.c index 7f579822db..ae2f6c88b0 100644 --- a/libavcodec/binkaudio.c +++ b/libavcodec/binkaudio.c @@ -222,11 +222,6 @@ static void decode_block(BinkAudioContext *s, short *out, int use_dct) ff_rdft_calc(&s->trans.rdft, coeffs); } - if (s->dsp.float_to_int16_interleave == ff_float_to_int16_interleave_c) { - for (i = 0; i < s->channels; i++) - for (j = 0; j < s->frame_len; j++) - s->coeffs_ptr[i][j] = 385.0 + s->coeffs_ptr[i][j]*(1.0/32767.0); - } s->dsp.float_to_int16_interleave(out, (const float **)s->coeffs_ptr, s->frame_len, s->channels); if (!s->first) { |