Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 12 years ago
parent
commit
c603f22683
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/buffer.c

+ 1
- 1
libavutil/buffer.c View File

@@ -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;


Loading…
Cancel
Save