This commit is contained in:
Lasse Collin 2008-11-22 17:44:33 +02:00
parent 6d1d6f4598
commit 4249c8c15a

View File

@ -156,7 +156,7 @@ coder_set_compression_settings(void)
"for the given filter setup"));
}
// Limit the number of worked threads so that memory usage
// Limit the number of worker threads so that memory usage
// limit isn't exceeded.
assert(memory_usage > 0);
size_t thread_limit = memory_limit / memory_usage;