libavcodec/utils.c: simplify avcodec locking with atomics
Also makes it more robust than using volatiles.
Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
Showing
Please
register
or
sign in
to comment
Also makes it more robust than using volatiles.
Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>