Commit c603f226 authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/get_pool: remove dead operations whichs result is never used.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e3be7b11
......@@ -242,7 +242,7 @@ static BufferPoolEntry *get_pool(AVBufferPool *pool)
BufferPoolEntry *cur = *(void * volatile *)&pool->pool, *last = NULL;
while (cur != last) {
FFSWAP(BufferPoolEntry*, cur, last);
last = cur;
cur = avpriv_atomic_ptr_cas((void * volatile *)&pool->pool, last, NULL);
if (!cur)
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment