ref: a80958b025dc69cb324043940fb3c84c03eb76ed
parent: b92dce32703aa0a7899db22c4d28e8cab6b5fdcf
author: Gregory Maxwell <[email protected]>
date: Mon Jun 29 08:48:57 EDT 2009
Note some more platforms where float-approx is tested, fix a bug in the prediction ctl, and remove some dead code from bands.c.
--- a/configure.ac
+++ b/configure.ac
@@ -93,7 +93,7 @@
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
--- a/libcelt/bands.c
+++ b/libcelt/bands.c
@@ -916,7 +916,6 @@
int enabled = 1;
pband++;
if (remaining_bits >= 1<<BITRES) {
- enabled = pgains[pband] > QCONST16(.5,15);
enabled = ec_dec_bits(dec, 1);
balance += 1<<BITRES;
}
@@ -1019,7 +1018,6 @@
int enabled = 1;
pband++;
if (remaining_bits >= 1<<BITRES) {
- enabled = pgains[pband] > QCONST16(.5,15);
enabled = ec_dec_bits(dec, 1);
balance += 1<<BITRES;
}
--- a/libcelt/celt.c
+++ b/libcelt/celt.c
@@ -1016,7 +1016,7 @@
{
st->force_intra = 1;
st->pitch_permitted = 0;
- } else if (value=1) {
+ } else if (value==1) {
st->force_intra = 0;
st->pitch_permitted = 0;
} else {