summaryrefslogtreecommitdiffstats
path: root/programs/frametest.c
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-03-29 10:20:09 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-03-29 10:20:09 (GMT)
commitd5da787c1bd92a22c87b6428321668548155995f (patch)
treee8a7882bf7a1c7ebf13270faa8ebd9e5970916b3 /programs/frametest.c
parentce71b073b5a4a9e2bdd78855f50ddc146baac1c5 (diff)
downloadlz4-d5da787c1bd92a22c87b6428321668548155995f.zip
lz4-d5da787c1bd92a22c87b6428321668548155995f.tar.gz
lz4-d5da787c1bd92a22c87b6428321668548155995f.tar.bz2
Changed struct member to contentSize
Diffstat (limited to 'programs/frametest.c')
-rw-r--r--programs/frametest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/programs/frametest.c b/programs/frametest.c
index 2a087ec..b73cc4e 100644
--- a/programs/frametest.c
+++ b/programs/frametest.c
@@ -402,7 +402,7 @@ int basicTests(U32 seed, double compressibility)
DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)(op-ostart));
DISPLAYLEVEL(3, "compress with frameSize : \n");
- prefs.frameInfo.frameOSize = testSize;
+ prefs.frameInfo.contentSize = testSize;
op = ostart;
errorCode = LZ4F_compressBegin(cctx, compressedBuffer, testSize, &prefs);
if (LZ4F_isError(errorCode)) goto _output_error;
@@ -415,7 +415,7 @@ int basicTests(U32 seed, double compressibility)
DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)(op-ostart));
DISPLAYLEVEL(3, "compress with wrong frameSize : \n");
- prefs.frameInfo.frameOSize = testSize+1;
+ prefs.frameInfo.contentSize = testSize+1;
op = ostart;
errorCode = LZ4F_compressBegin(cctx, compressedBuffer, testSize, &prefs);
if (LZ4F_isError(errorCode)) goto _output_error;
@@ -594,7 +594,7 @@ int fuzzerTests(U32 seed, unsigned nbTests, unsigned startTest, double compressi
prefs.frameInfo.blockMode = (blockMode_t)BMId;
prefs.frameInfo.blockSizeID = (blockSizeID_t)BSId;
prefs.frameInfo.contentChecksumFlag = (contentChecksum_t)CCflag;
- prefs.frameInfo.frameOSize = frameContentSize;
+ prefs.frameInfo.contentSize = frameContentSize;
prefs.autoFlush = autoflush;
prefs.compressionLevel = FUZ_rand(&randState) % 5;
if ((FUZ_rand(&randState) & 0xF) == 1) prefsPtr = NULL;