[FFmpeg-devel] [PATCH 3/6] apv_decode: Improve reporting of decode errors
James Almer
jamrial at gmail.com
Sun May 4 01:49:34 EEST 2025
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250503/d0c79af8/attachment.sig>
More information about the ffmpeg-devel
mailing list