xz: Add a clarifying assertion

Fixes: 5f0c5a0438
This commit is contained in:
Lasse Collin 2024-05-10 20:23:33 +03:00
parent 605094329b
commit 1eaad004bf
1 changed files with 1 additions and 0 deletions

View File

@ -256,6 +256,7 @@ filters_memusage_max(uint64_t *filter_memusages,
uint64_t memusage = UINT64_MAX;
#ifdef MYTHREAD_ENABLED
if (mt != NULL) {
assert(encode);
mt_local.filters = filters[i];
memusage = lzma_stream_encoder_mt_memusage(&mt_local);
} else