Skip to content

Commit dda4ab6

Browse files
committed
Fix zstd compression with digested ZstdDict
1 parent 26696a6 commit dda4ab6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Modules/_zstd/compressor.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ _zstd_ZstdCompressor_new_impl(PyTypeObject *type, PyObject *level,
347347
}
348348

349349
self->use_multithread = 0;
350+
self->compression_level = ZSTD_CLEVEL_DEFAULT;
350351
self->dict = NULL;
351352
self->lock = (PyMutex){0};
352353

0 commit comments

Comments
 (0)