Skip to content
Snippets Groups Projects
Unverified Commit 8a287dcf authored by Kurt Schwehr's avatar Kurt Schwehr Committed by GitHub
Browse files

Fix the spelling of length. (#14)

parent 0c7c88e6
No related branches found
No related tags found
No related merge requests found
...@@ -339,7 +339,7 @@ static uint32_t assess_splitting_option(struct aec_stream *strm) ...@@ -339,7 +339,7 @@ static uint32_t assess_splitting_option(struct aec_stream *strm)
increases, then the minimum will be found with smaller k. increases, then the minimum will be found with smaller k.
For increasing k we know that we will gain block_size bits in For increasing k we know that we will gain block_size bits in
length through the larger binary part. If the FS lenth is less length through the larger binary part. If the FS length is less
than the block size then a reduced FS part can't compensate the than the block size then a reduced FS part can't compensate the
larger binary part. So we know that the CDS for k+1 will be larger binary part. So we know that the CDS for k+1 will be
larger than for k without actually computing the length. An larger than for k without actually computing the length. An
......
...@@ -12,7 +12,7 @@ struct test_state { ...@@ -12,7 +12,7 @@ struct test_state {
unsigned char *ubuf; unsigned char *ubuf;
unsigned char *cbuf; unsigned char *cbuf;
unsigned char *obuf; unsigned char *obuf;
size_t ibuf_len; /* input buffer legth may be shorter than buf_len */ size_t ibuf_len; /* input buffer length may be shorter than buf_len */
size_t buf_len; size_t buf_len;
size_t cbuf_len; size_t cbuf_len;
long long int xmax; long long int xmax;
......
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