Skip to content
Snippets Groups Projects
Verified Commit 8dc345fe authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Fix whitespace errors

parent 9ec1683f
No related branches found
No related tags found
No related merge requests found
......@@ -168,7 +168,7 @@ AC_ARG_ENABLE([neural-fec],
AS_IF([test "$enable_neural_fec" = "yes"],[
AC_DEFINE([ENABLE_NEURAL_FEC], [1], [Neural FEC])
])
])
AC_ARG_ENABLE([neural-plc],
[AS_HELP_STRING([--enable-neural-plc], [Use neural PLC for SILK])],,
......
......@@ -126,7 +126,6 @@ void dred_decode_state(ec_enc *dec, float *x) {
{
x[k] = iy[k] * norm;
}
}
void dred_decode_latents(ec_dec *dec, float *x, const opus_uint16 *scale, const opus_uint16 *r, const opus_uint16 *p0) {
......@@ -155,7 +154,7 @@ int main()
opus_int16 p0[LATENT_DIM];
unsigned char *ptr;
int k;
for (k=0;k<LATENT_DIM;k++) {
scale[k] = 256;
dzone[k] = 0;
......@@ -192,7 +191,7 @@ int main()
ec_dec_init(&dec,ec_get_buffer(&enc),bytes);
for (iter=0;iter<1;iter++) {
float x[PVQ_DIM];
dred_decode_state(&dec, x);
dred_decode_state(&dec, x);
}
for (iter=0;iter<1;iter++) {
float x[LATENT_DIM];
......
......@@ -79,5 +79,3 @@ int dred_ec_decode(OpusDRED *dec, const opus_uint8 *bytes, int num_bytes, int mi
dec->nb_latents = i/2;
return i/2;
}
......@@ -87,7 +87,6 @@ opus_int32 skip_extension(const unsigned char **data, opus_int32 len, opus_int32
} else {
return -1;
}
return len;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment