20 if (
in[0] != 0x00 || (
in[1] & 0xF0))
const lzma_allocator const uint8_t * in
static const char struct stat static buf struct stat static buf static vhangup int options
const uint8_t lzma_header_magic[6]
const uint8_t lzma_footer_magic[2]
Common stuff for Stream flags coders.
#define LZMA_STREAM_FLAGS_SIZE
Size of the Stream Flags field.
static bool stream_flags_decode(lzma_stream_flags *options, const uint8_t *in)
Options for encoding/decoding Stream Header and Stream Footer.
static uint32_t read32le(const uint8_t *buf)
#define LZMA_VLI_UNKNOWN
VLI value to denote that the value is unknown.
lzma_ret
Return values used by several functions in liblzma.
@ LZMA_DATA_ERROR
Data is corrupt.
@ LZMA_FORMAT_ERROR
Memory usage limit was reached.
@ LZMA_OPTIONS_ERROR
Invalid or unsupported options.
@ LZMA_OK
Operation completed successfully.