Commit a80958b0 authored by Gregory Maxwell's avatar Gregory Maxwell
Browse files

Note some more platforms where float-approx is tested, fix a bug in the prediction ctl,

and remove some dead code from bands.c.
parent b92dce32
......@@ -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
......
......@@ -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<<BITRES) {
enabled = pgains[pband] > QCONST16(.5,15);
enabled = ec_dec_bits(dec, 1);
balance += 1<<BITRES;
}
......@@ -1019,7 +1018,6 @@ void unquant_bands_stereo(const CELTMode *m, celt_norm_t * restrict X, celt_norm
int enabled = 1;
pband++;
if (remaining_bits >= 1<<BITRES) {
enabled = pgains[pband] > QCONST16(.5,15);
enabled = ec_dec_bits(dec, 1);
balance += 1<<BITRES;
}
......
......@@ -1016,7 +1016,7 @@ int celt_encoder_ctl(CELTEncoder * restrict st, int request, ...)
{
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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment