fixed seekable format example

This commit is contained in:
Yann Collet
2018-03-15 16:29:28 -07:00
parent 38cbcb5f1a
commit 355cb645bf
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ size_t ZSTD_seekable_initCStream(ZSTD_seekable_CStream* zcs,
/* make sure maxFrameSize has a reasonable value */
if (maxFrameSize > ZSTD_SEEKABLE_MAX_FRAME_DECOMPRESSED_SIZE) {
return ERROR(compressionParameter_unsupported);
return ERROR(frameParameter_unsupported);
}
zcs->maxFrameSize = maxFrameSize