https://bugs.kde.org/show_bug.cgi?id=451816
Bug ID: 451816 Summary: improper usage of ZSTD_compressStream2 API Product: frameworks-karchive Version: unspecified Platform: Other OS: Other Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: fa...@kde.org Reporter: tooli...@yahoo.com CC: kdelibs-b...@kde.org Target Milestone: --- When used through KCompressionDevice, compression using Zstd format is not efficient. Root cause is the following line in API KZstdFilter::Result KZstdFilter::compress(bool finish) in file kzstdfilter.cpp Line 126: const size_t result = ZSTD_compressStream2(d->cStream, &d->outBuffer, &d->inBuffer, finish ? ZSTD_e_end : ZSTD_e_flush); It shall be changed into : const size_t result = ZSTD_compressStream2(d->cStream, &d->outBuffer, &d->inBuffer, finish ? ZSTD_e_end : ZSTD_e_continue); To get compression working correctly. -- You are receiving this mail because: You are watching all bug changes.