Bug 945419 - Fix fixed-point opus stereo encode regression. r=jmspeex.

This commit is contained in:
Ralph Giles 2013-12-02 15:00:00 -08:00
Родитель 53ee519e08
Коммит 202355538c
3 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -8,4 +8,4 @@ files after the copy step.
The upstream repository is https://git.xiph.org/opus.git
The git tag/revision used was v1.1-rc2-1-g35a44c6.
The git tag/revision used was v1.1-rc2-2-g086ea7c.

Просмотреть файл

@ -1816,7 +1816,7 @@ int celt_encode_with_ec(CELTEncoder * OPUS_RESTRICT st, const opus_val16 * pcm,
if (LM!=0)
dual_stereo = stereo_analysis(mode, X, LM, N);
st->intensity = hysteresis_decision((opus_val16)equiv_rate/1000,
st->intensity = hysteresis_decision((opus_val16)(equiv_rate/1000),
intensity_thresholds, intensity_histeresis, 21, st->intensity);
st->intensity = IMIN(st->end,IMAX(st->start, st->intensity));
}

Просмотреть файл

@ -16,7 +16,7 @@ MSVC_ENABLE_PGO = True
FINAL_LIBRARY = 'gkmedias'
DEFINES['OPUS_BUILD'] = True
DEFINES['OPUS_VERSION'] = '"v1.1-rc2-1-g35a44c6-mozilla"'
DEFINES['OPUS_VERSION'] = '"v1.1-rc2-2-g086ea7c-mozilla"'
DEFINES['USE_ALLOCA'] = True
if CONFIG['OS_ARCH'] in ('Linux', 'Darwin', 'DragonFly', 'FreeBSD',