diff options
author | Jean-Marc Valin <jmvalin@amazon.com> | 2023-05-24 08:59:01 +0300 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@amazon.com> | 2023-06-16 20:02:17 +0300 |
commit | 8dc345fe596ca1f44a51b83c9ac03c67a1b4f31d (patch) | |
tree | 29199ac00999d05a9f707080a20abefb94875b52 /silk | |
parent | 9ec1683f3265307bbb20285b306d3e28ee08d593 (diff) |
Fix whitespace errors
Diffstat (limited to 'silk')
-rw-r--r-- | silk/dred_coding.c | 5 | ||||
-rw-r--r-- | silk/dred_decoder.c | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/silk/dred_coding.c b/silk/dred_coding.c index 4a6a5862..ff592e81 100644 --- a/silk/dred_coding.c +++ b/silk/dred_coding.c @@ -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]; diff --git a/silk/dred_decoder.c b/silk/dred_decoder.c index c25f44cf..20eb98ec 100644 --- a/silk/dred_decoder.c +++ b/silk/dred_decoder.c @@ -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; } - - |