summaryrefslogtreecommitdiffstats
path: root/tests/frametest.c
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2022-07-15 14:11:26 (GMT)
committerYann Collet <cyan@fb.com>2022-07-15 17:30:53 (GMT)
commit6784e78e006329ba67eb799a1cb94dd7267a9241 (patch)
tree96330ac7e1f25829df98330cab8cc57eca44f35f /tests/frametest.c
parent0c620ce212d92d009f47293ea5e0b676c3380fbb (diff)
downloadlz4-6784e78e006329ba67eb799a1cb94dd7267a9241.zip
lz4-6784e78e006329ba67eb799a1cb94dd7267a9241.tar.gz
lz4-6784e78e006329ba67eb799a1cb94dd7267a9241.tar.bz2
support skippable frames within pipe
fix #977 fseek() doesn't work for pipe, switch to "read and forget" mode in such case.
Diffstat (limited to 'tests/frametest.c')
-rw-r--r--tests/frametest.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/frametest.c b/tests/frametest.c
index 58eac38..2d355bb 100644
--- a/tests/frametest.c
+++ b/tests/frametest.c
@@ -65,8 +65,6 @@ static void FUZ_writeLE32 (void* dstVoidPtr, U32 value32)
/*-************************************
* Constants
**************************************/
-#define LZ4F_MAGIC_SKIPPABLE_START 0x184D2A50U
-
#define KB *(1U<<10)
#define MB *(1U<<20)
#define GB *(1U<<30)