diff --git a/src/compress_measurements.cpp b/src/compress_measurements.cpp index aca7d9a..e84b15c 100644 --- a/src/compress_measurements.cpp +++ b/src/compress_measurements.cpp @@ -15,13 +15,14 @@ extern "C" #include } +const uint32_t COMPRESSION_PRESET = 9 | LZMA_PRESET_EXTREME; const std::vector ENDINGS = {".mf4", ".rif"}; int main(int argc, char *argv[]) { const std::filesystem::path directory = argc > 1 ? argv[1] : std::filesystem::current_path(); lzma_stream strm = LZMA_STREAM_INIT; - bool success = lzma_init_encoder(&strm, 9 | LZMA_PRESET_EXTREME); + bool success = lzma_init_encoder(&strm, COMPRESSION_PRESET); if (success) {