mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
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>
This commit is contained in:
parent
f783259fdb
commit
0e216ed407
@ -69,12 +69,12 @@ typedef struct BufferPoolEntry {
|
|||||||
void (*free)(void *opaque, uint8_t *data);
|
void (*free)(void *opaque, uint8_t *data);
|
||||||
|
|
||||||
AVBufferPool *pool;
|
AVBufferPool *pool;
|
||||||
struct BufferPoolEntry *next;
|
struct BufferPoolEntry * volatile next;
|
||||||
} BufferPoolEntry;
|
} BufferPoolEntry;
|
||||||
|
|
||||||
struct AVBufferPool {
|
struct AVBufferPool {
|
||||||
AVMutex mutex;
|
AVMutex mutex;
|
||||||
BufferPoolEntry *pool;
|
BufferPoolEntry * volatile pool;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is used to track when the pool is to be freed.
|
* This is used to track when the pool is to be freed.
|
||||||
|
Loading…
Reference in New Issue
Block a user