# HG changeset patch # User conrad # Date 1255012814 0 # Node ID 98816e4d5522e19118a680761488af85a35cd0a2 # Parent 5c5b864d66e1b72f3549d2bf260b1f707caad86f 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 diff -r 5c5b864d66e1 -r 98816e4d5522 aac.c --- a/aac.c Wed Oct 07 21:35:24 2009 +0000 +++ b/aac.c Thu Oct 08 14:40:14 2009 +0000 @@ -527,7 +527,7 @@ // 32768 - Required to scale values to the correct range for the bias method // for float to int16 conversion. - if (ac->dsp.float_to_int16 == ff_float_to_int16_c) { + if (ac->dsp.float_to_int16_interleave == ff_float_to_int16_interleave_c) { ac->add_bias = 385.0f; ac->sf_scale = 1. / (-1024. * 32768.); ac->sf_offset = 0; diff -r 5c5b864d66e1 -r 98816e4d5522 dca.c --- 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 {