diff options
Diffstat (limited to '')
-rw-r--r-- | src/lzma/args.c | 2 | ||||
-rw-r--r-- | src/lzma/error.c | 2 | ||||
-rw-r--r-- | src/lzma/list.c | 6 | ||||
-rw-r--r-- | src/lzmadec/lzmadec.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/lzma/args.c b/src/lzma/args.c index 70c3978e..2ddb93ed 100644 --- a/src/lzma/args.c +++ b/src/lzma/args.c @@ -461,7 +461,7 @@ set_compression_settings(void) } // Terminate the filter options array. - opt_filters[filter_count].id = LZMA_VLI_VALUE_UNKNOWN; + opt_filters[filter_count].id = LZMA_VLI_UNKNOWN; // If we are using the LZMA_Alone format, allow exactly one filter // which has to be LZMA. diff --git a/src/lzma/error.c b/src/lzma/error.c index e5391068..e66fd140 100644 --- a/src/lzma/error.c +++ b/src/lzma/error.c @@ -49,7 +49,7 @@ str_strm_error(lzma_ret code) case LZMA_BUF_ERROR: return _("Unexpected end of input"); - case LZMA_HEADER_ERROR: + case LZMA_OPTIONS_ERROR: return _("Unsupported options"); case LZMA_UNSUPPORTED_CHECK: diff --git a/src/lzma/list.c b/src/lzma/list.c index e59f28b7..8728d47b 100644 --- a/src/lzma/list.c +++ b/src/lzma/list.c @@ -314,7 +314,7 @@ parse_stream_tail(listing_handle *handle) ret = lzma_vli_reverse_decode(&handle->uncompressed_size, handle->buffer, &tmp); if (ret != LZMA_OK) - handle->uncompressed_size = LZMA_VLI_VALUE_UNKNOWN; + handle->uncompressed_size = LZMA_VLI_UNKNOWN; } // Calculate the Header Metadata Block start offset. @@ -376,9 +376,9 @@ list_native(listing_handle *handle) // If Uncompressed Size isn't present in Block Header, // it must be present in Stream Footer. if (handle->block_options.uncompressed_size - == LZMA_VLI_VALUE_UNKNOWN + == LZMA_VLI_UNKNOWN && handle->stream_flags.uncompressed_size - == LZMA_VLI_VALUE_UNKNOWN) { + == LZMA_VLI_UNKNOWN) { FILE_IS_CORRUPT(); return; } diff --git a/src/lzmadec/lzmadec.c b/src/lzmadec/lzmadec.c index b69723b4..eab00544 100644 --- a/src/lzmadec/lzmadec.c +++ b/src/lzmadec/lzmadec.c @@ -412,7 +412,7 @@ uncompress(void) fprintf(stderr, "File is corrupt\n"); exit(ERROR); - case LZMA_HEADER_ERROR: + case LZMA_OPTIONS_ERROR: fprintf(stderr, "Unsupported file " "format or filters\n"); exit(ERROR); |