Deleted Added
full compact
delta_encoder.c (213700) delta_encoder.c (223935)
1///////////////////////////////////////////////////////////////////////////////
2//
3/// \file delta_encoder.c
4/// \brief Delta filter encoder
5//
6// Author: Lasse Collin
7//
8// This file has been put into the public domain.

--- 71 unchanged lines hidden (view full) ---

80 }
81
82 return ret;
83}
84
85
86static lzma_ret
87delta_encoder_update(lzma_coder *coder, lzma_allocator *allocator,
1///////////////////////////////////////////////////////////////////////////////
2//
3/// \file delta_encoder.c
4/// \brief Delta filter encoder
5//
6// Author: Lasse Collin
7//
8// This file has been put into the public domain.

--- 71 unchanged lines hidden (view full) ---

80 }
81
82 return ret;
83}
84
85
86static lzma_ret
87delta_encoder_update(lzma_coder *coder, lzma_allocator *allocator,
88 const lzma_filter *filters_null lzma_attribute((unused)),
88 const lzma_filter *filters_null lzma_attribute((__unused__)),
89 const lzma_filter *reversed_filters)
90{
91 // Delta doesn't and will never support changing the options in
92 // the middle of encoding. If the app tries to change them, we
93 // simply ignore them.
94 return lzma_next_filter_update(
95 &coder->next, allocator, reversed_filters + 1);
96}

--- 25 unchanged lines hidden ---
89 const lzma_filter *reversed_filters)
90{
91 // Delta doesn't and will never support changing the options in
92 // the middle of encoding. If the app tries to change them, we
93 // simply ignore them.
94 return lzma_next_filter_update(
95 &coder->next, allocator, reversed_filters + 1);
96}

--- 25 unchanged lines hidden ---