Commit 68e844aa authored by Henrik Gramner's avatar Henrik Gramner

Increase thread stack size

Stack usage can increase significantly when running under certain
sanitizers which may exceed the previously used value.
parent a713643e
Pipeline #6846 passed with stages
in 6 minutes and 3 seconds
......@@ -92,7 +92,7 @@ int dav1d_open(Dav1dContext **const c_out,
pthread_attr_t thread_attr;
if (pthread_attr_init(&thread_attr)) return DAV1D_ERR(ENOMEM);
pthread_attr_setstacksize(&thread_attr, 512 * 1024);
pthread_attr_setstacksize(&thread_attr, 1024 * 1024);
Dav1dContext *const c = *c_out = dav1d_alloc_aligned(sizeof(*c), 32);
if (!c) goto error;
Markdown is supported
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