From a80958b025dc69cb324043940fb3c84c03eb76ed Mon Sep 17 00:00:00 2001 From: Gregory Maxwell Date: Mon, 29 Jun 2009 12:48:57 -0400 Subject: [PATCH] Note some more platforms where float-approx is tested, fix a bug in the prediction ctl, and remove some dead code from bands.c. --- configure.ac | 2 +- libcelt/bands.c | 2 -- libcelt/celt.c | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index b0a4f185..c9f399fb 100644 --- a/configure.ac +++ b/configure.ac @@ -93,7 +93,7 @@ AC_DEFINE_UNQUOTED(CELT_EXTRA_VERSION, "${CELT_EXTRA_VERSION}", [Version extra]) has_float_approx=no #case "$host_cpu" in -#i[[3456]]86 | x86_64) +#i[[3456]]86 | x86_64 | powerpc64 | powerpc32 | ia64) # has_float_approx=yes # ;; #esac diff --git a/libcelt/bands.c b/libcelt/bands.c index 59edb78b..7b1fe300 100644 --- a/libcelt/bands.c +++ b/libcelt/bands.c @@ -916,7 +916,6 @@ void unquant_bands_stereo(const CELTMode *m, celt_norm_t * restrict X, celt_norm int enabled = 1; pband++; if (remaining_bits >= 1< QCONST16(.5,15); enabled = ec_dec_bits(dec, 1); balance += 1<= 1< QCONST16(.5,15); enabled = ec_dec_bits(dec, 1); balance += 1<force_intra = 1; st->pitch_permitted = 0; - } else if (value=1) { + } else if (value==1) { st->force_intra = 0; st->pitch_permitted = 0; } else {