Commit 39de556c authored by Martin Storsjö's avatar Martin Storsjö
Browse files

lib: Properly mark threads above 32 as available

This fixes the following MSVC warning:
../src/lib.c(460): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
parent 1dfda04f
Pipeline #4574 passed with stages
in 7 minutes and 35 seconds
......@@ -457,7 +457,7 @@ static void close_internal(Dav1dContext **const c_out, int flush) {
t->tile_thread.die = 1;
// mark not created tile threads as available
if (!t->
f->tile_thread.available |= 1<<m;
f->tile_thread.available |= 1ULL<<m;
while (f->tile_thread.available != ~0ULL >> (64 - f->n_tc))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment