You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the longest time, ZPAQ could not decompress using zpaq levels 1 and 2. Only 3,4, and 5 levels were set in util.c. ZPAQ Decoder would report an error on decompression
Decompressing...
ZPAQ Error: missing end of segment marker:
Even though the archive was compressed properly.
What was expected behavior?
ZPAQ compression should be able to utilize all 5 levels.
Steps to reproduce
Modify util.c setup_overhead() function to use all 5 zpaq levels. Recompile, then encode and try and decode using level 1.
lrzip-next Version
ZPAQ 7.15 library
lrzip-next command line
N/A
What happened?
For the longest time, ZPAQ could not decompress using zpaq levels 1 and 2. Only 3,4, and 5 levels were set in util.c. ZPAQ Decoder would report an error on decompression
Even though the archive was compressed properly.
What was expected behavior?
ZPAQ compression should be able to utilize all 5 levels.
Steps to reproduce
Modify util.c setup_overhead() function to use all 5 zpaq levels. Recompile, then encode and try and decode using level 1.
The fix will be in libzpaq.cpp. A simple omission to utilize the custom Reader class used by lrzip-next.
Relevant log output
No response
Please provide system details
OS Distro: Slackware
Kernel Version (uname -a): 6.3
System ram (free -h): lots
Additional Context
After the changes...
Decompressing...
100% 9870.00 / 9870.00 KB ZPAQ 1:100% 2:100%
Average DeCompression Speed: 9.000MB/s
SHA256:79e741a75ce4c259e0d72048a064829d34c691335a5adbf4588330c3b52e9307
[OK] - 10,106,880 bytes
Total time: 00:00:00.08
The text was updated successfully, but these errors were encountered: