From 67d8eabdbb29efb66c9d813635732c9d6aa5c437 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Wed, 22 Mar 2017 17:31:15 +0100 Subject: lavu/buffer: drop USE_ATOMICS USE_ATOMICS is only set if there is no thread implementation enabled, in which case you can't expect any lock mechanism from FFmpeg. This is also conflicting with the incoming use of stdatomic. --- libavutil/buffer_internal.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavutil/buffer_internal.h') diff --git a/libavutil/buffer_internal.h b/libavutil/buffer_internal.h index 29ce8a643c..bbd40a04e4 100644 --- a/libavutil/buffer_internal.h +++ b/libavutil/buffer_internal.h @@ -87,8 +87,6 @@ struct AVBufferPool { */ volatile int refcount; - volatile int nb_allocated; - int size; void *opaque; AVBufferRef* (*alloc)(int size); -- cgit v1.2.3