On 5/3/2025 2:55 PM, Mark Thompson wrote: > +fail: > + av_log(avctx, AV_LOG_VERBOSE, > + "Decode error in tile %d component %d.\n", > + tile_index, comp_index); > + atomic_fetch_add(&apv->tile_errors, 1); atomic_fetch_add_explicit(&apv->tile_errors, 1, memory_order_relaxed); You don't care about order, just atomicity of the operation.