BF: Fix bug in zstd writer

When compressing data with length an exact multiple of the input buffer size, the ZSTD_e_end flag was not being passed to end the frame, resulting in a corrupt file. Incidentally, the pyzstd library reads these files without complaining (as all of the compressed data is actually present), but zstd -d would bork.

Merge request reports

Loading