"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "unpack.hpp" between
unrarsrc-6.1.2.tar.gz and unrarsrc-6.1.3.tar.gz

About: unrar extracts, views and tests the contents of archives created with the RAR archiver.

unpack.hpp  (unrarsrc-6.1.2):unpack.hpp  (unrarsrc-6.1.3)
skipping to change at line 26 skipping to change at line 26
// Limit maximum number of channels in RAR3 delta filter to some reasonable // Limit maximum number of channels in RAR3 delta filter to some reasonable
// value to prevent too slow processing of corrupt archives with invalid // value to prevent too slow processing of corrupt archives with invalid
// channels number. Must be equal or larger than v3_MAX_FILTER_CHANNELS. // channels number. Must be equal or larger than v3_MAX_FILTER_CHANNELS.
// No need to provide it for RAR5, which uses only 5 bits to store channels. // No need to provide it for RAR5, which uses only 5 bits to store channels.
#define MAX3_UNPACK_CHANNELS 1024 #define MAX3_UNPACK_CHANNELS 1024
// Maximum size of single filter block. We restrict it to limit memory // Maximum size of single filter block. We restrict it to limit memory
// allocation. Must be equal or larger than MAX_ANALYZE_SIZE. // allocation. Must be equal or larger than MAX_ANALYZE_SIZE.
#define MAX_FILTER_BLOCK_SIZE 0x400000 #define MAX_FILTER_BLOCK_SIZE 0x400000
// Write data in 4 MB or smaller blocks. Must not exceed PACK_MAX_WRITE, // Write data in 4 MB or smaller blocks. Must not exceed PACK_MAX_READ,
// so we keep a number of buffered filters in unpacker reasonable. // so we keep the number of buffered filters in unpacker reasonable.
#define UNPACK_MAX_WRITE 0x400000 #define UNPACK_MAX_WRITE 0x400000
// Decode compressed bit fields to alphabet numbers. // Decode compressed bit fields to alphabet numbers.
struct DecodeTable:PackDef struct DecodeTable:PackDef
{ {
// Real size of DecodeNum table. // Real size of DecodeNum table.
uint MaxNum; uint MaxNum;
// Left aligned start and upper limit codes defining code space // Left aligned start and upper limit codes defining code space
// ranges for bit lengths. DecodeLen[BitLength-1] defines the start of // ranges for bit lengths. DecodeLen[BitLength-1] defines the start of
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)