mcmilk / 7-Zip-zstd

7-Zip with support for Brotli, Fast-LZMA2, Lizard, LZ4, LZ5 and Zstandard
https://mcmilk.de/projects/7-Zip-zstd/
Other
5.06k stars 300 forks source link

Error when decompressing with libzstd #334

Closed dynamiquel closed 1 year ago

dynamiquel commented 1 year ago

My C++ program uses libzstd 1.5.5 to compress and decompress files using the Simple API and it works fine.

However, if I was to compress a file using the Zstd archive format in the Windows GUI of 7-Zip ZS 22.01 - v1.5.5 - Release 2 and then decompress it using libzstd, I keep getting this error: Unknown frame descriptor.

Does anyone know why I could be receiving this error and any advice on how to fix it?

Thank you.

mcmilk commented 1 year ago

Please take a look into this spec: https://github.com/facebook/zstd/blob/dev/doc/zstd_compression_format.md You can define frames ith some own content within zstd... and others should skip them.

You can also create some file with this extra frames and post it here, so we can look together onto this issue with some example..

mcmilk commented 1 year ago

No response ... I am closing this