FFmpeg icon indicating copy to clipboard operation
FFmpeg copied to clipboard

Fix #ifdef WIN32 for atomic_compare_exchange_strong

Open nuomi2021 opened this issue 2 years ago • 0 comments

https://github.com/ffvvc/FFmpeg/blob/main/libavcodec/vvc_thread.c#L570

This is a FFMPEG Windows compatibility issue, mainly because https://github.com/ffvvc/FFmpeg/blob/main/compat/atomics/win32/stdatomic.h#L104 does not follow the spec, it accepts automic_int(intptr_t) instead of int.

nuomi2021 avatar Feb 04 '23 04:02 nuomi2021