diff options
author | David Conrad <lessen42@gmail.com> | 2009-10-08 14:40:14 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2009-10-08 14:40:14 +0000 |
commit | 144fec83b3abd42ac361b3c964467dff5a1ac958 (patch) | |
tree | 1693ad16d6a7fc9d6bd4f9cc2a38e5db265407a9 /libavcodec/dca.c | |
parent | 12bf71b691b77c9ce229d5f715c4b954fa2b7aa1 (diff) | |
download | ffmpeg-144fec83b3abd42ac361b3c964467dff5a1ac958.tar.gz |
dca and aac decoders use float_to_int16_interleave, so check for
the C version of that rather than float_to_int16.
Fixes output on ARM/VFP
Originally committed as revision 20192 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dca.c')
-rw-r--r-- | libavcodec/dca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dca.c b/libavcodec/dca.c index b68e547050..e411c3695d 100644 --- a/libavcodec/dca.c +++ b/libavcodec/dca.c @@ -1324,7 +1324,7 @@ static av_cold int dca_decode_init(AVCodecContext * avctx) s->samples_chanptr[i] = s->samples + i * 256; avctx->sample_fmt = SAMPLE_FMT_S16; - if(s->dsp.float_to_int16 == ff_float_to_int16_c) { + if(s->dsp.float_to_int16_interleave == ff_float_to_int16_interleave_c) { s->add_bias = 385.0f; s->scale_bias = 1.0 / 32768.0; } else { |