Mercurial > libavcodec.hg
diff dca.c @ 10377:98816e4d5522 libavcodec
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
author | conrad |
---|---|
date | Thu, 08 Oct 2009 14:40:14 +0000 |
parents | 38ab367d4231 |
children | 464ea00ac79e |
line wrap: on
line diff
--- a/dca.c Wed Oct 07 21:35:24 2009 +0000 +++ b/dca.c Thu Oct 08 14:40:14 2009 +0000 @@ -1324,7 +1324,7 @@ 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 {