summaryrefslogtreecommitdiff
path: root/libavutil/buffer_internal.h
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-22 17:31:15 +0100
committerClément Bœsch <u@pkh.me>2017-03-22 17:40:03 +0100
commit67d8eabdbb29efb66c9d813635732c9d6aa5c437 (patch)
tree84ab2bedfdc8527bc018c27cf6bb83a12dea9f5a /libavutil/buffer_internal.h
parentf015711ed1244fe8c09fd470262b57dfce6a2dbf (diff)
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.
Diffstat (limited to 'libavutil/buffer_internal.h')
-rw-r--r--libavutil/buffer_internal.h2
1 files changed, 0 insertions, 2 deletions
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);