alone_decoder.c (213700) | alone_decoder.c (223935) |
---|---|
1/////////////////////////////////////////////////////////////////////////////// 2// 3/// \file alone_decoder.c 4/// \brief Decoder for LZMA_Alone files 5// 6// Author: Lasse Collin 7// 8// This file has been put into the public domain. --- 32 unchanged lines hidden (view full) --- 41 /// Options decoded from the header needed to initialize 42 /// the LZMA decoder 43 lzma_options_lzma options; 44}; 45 46 47static lzma_ret 48alone_decode(lzma_coder *coder, | 1/////////////////////////////////////////////////////////////////////////////// 2// 3/// \file alone_decoder.c 4/// \brief Decoder for LZMA_Alone files 5// 6// Author: Lasse Collin 7// 8// This file has been put into the public domain. --- 32 unchanged lines hidden (view full) --- 41 /// Options decoded from the header needed to initialize 42 /// the LZMA decoder 43 lzma_options_lzma options; 44}; 45 46 47static lzma_ret 48alone_decode(lzma_coder *coder, |
49 lzma_allocator *allocator lzma_attribute((unused)), | 49 lzma_allocator *allocator lzma_attribute((__unused__)), |
50 const uint8_t *restrict in, size_t *restrict in_pos, 51 size_t in_size, uint8_t *restrict out, 52 size_t *restrict out_pos, size_t out_size, 53 lzma_action action) 54{ 55 while (*out_pos < out_size 56 && (coder->sequence == SEQ_CODE || *in_pos < in_size)) 57 switch (coder->sequence) { --- 175 unchanged lines hidden --- | 50 const uint8_t *restrict in, size_t *restrict in_pos, 51 size_t in_size, uint8_t *restrict out, 52 size_t *restrict out_pos, size_t out_size, 53 lzma_action action) 54{ 55 while (*out_pos < out_size 56 && (coder->sequence == SEQ_CODE || *in_pos < in_size)) 57 switch (coder->sequence) { --- 175 unchanged lines hidden --- |