summaryrefslogtreecommitdiffstats
path: root/examples/simple_buffer.c
diff options
context:
space:
mode:
authorHamid Zare <dellydela@gmail.com>2019-07-11 21:34:52 (GMT)
committerHamid Zare <dellydela@gmail.com>2019-07-11 21:35:51 (GMT)
commit658ab8fca1c7bbc191d63c17ee751344a591f3ce (patch)
tree3daa5e49e0a6eea7d0ee7e7527e99c9a88e23b03 /examples/simple_buffer.c
parenteb6b599a50db0c144f4f8f5cd2d7e8e480c31d4e (diff)
downloadlz4-658ab8fca1c7bbc191d63c17ee751344a591f3ce.zip
lz4-658ab8fca1c7bbc191d63c17ee751344a591f3ce.tar.gz
lz4-658ab8fca1c7bbc191d63c17ee751344a591f3ce.tar.bz2
changed the input text to something more compression friendly
Diffstat (limited to 'examples/simple_buffer.c')
-rw-r--r--examples/simple_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple_buffer.c b/examples/simple_buffer.c
index 027fc85..62409d0 100644
--- a/examples/simple_buffer.c
+++ b/examples/simple_buffer.c
@@ -38,7 +38,7 @@ int main(void) {
/* Compression */
// We'll store some text into a variable pointed to by *src to be compressed later.
- const char* const src = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.";
+ const char* const src = "Lorem ipsum dolor sit amet, hhhhhhhhhhhhhhhhhhhhhhh";
// The compression function needs to know how many bytes exist. Since we're using a string, we can use strlen() + 1 (for \0).
const int src_size = (int)(strlen(src) + 1);
// LZ4 provides a function that will tell you the maximum size of compressed output based on input data via LZ4_compressBound().