aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-28 01:17:56 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-28 01:17:56 +0100
commit0e216ed40789e382eb6725d1cd0941927bfd1400 (patch)
tree4a0956c5a63eaa57711c6a1e676d12cffc19244c
parentf783259fdb37e288643fe54ac162d723b1bec548 (diff)
downloadffmpeg-0e216ed40789e382eb6725d1cd0941927bfd1400.tar.gz
avutil/buffer_internal: leave the buffer pool entries volatile
Theres no reason to remove the volatile keyword in a release branch Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavutil/buffer_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/buffer_internal.h b/libavutil/buffer_internal.h
index e6530485d3..befeb684ae 100644
--- a/libavutil/buffer_internal.h
+++ b/libavutil/buffer_internal.h
@@ -69,12 +69,12 @@ typedef struct BufferPoolEntry {
void (*free)(void *opaque, uint8_t *data);
AVBufferPool *pool;
- struct BufferPoolEntry *next;
+ struct BufferPoolEntry * volatile next;
} BufferPoolEntry;
struct AVBufferPool {
AVMutex mutex;
- BufferPoolEntry *pool;
+ BufferPoolEntry * volatile pool;
/*
* This is used to track when the pool is to be freed.