Commit f1c3d8b3 authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/add_to_pool: remove unused assgnment

Fixed CID991859
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b619a548
......@@ -263,7 +263,7 @@ static void add_to_pool(BufferPoolEntry *buf)
while (end->next)
end = end->next;
while ((cur = avpriv_atomic_ptr_cas((void * volatile *)&pool->pool, NULL, buf))) {
while (avpriv_atomic_ptr_cas((void * volatile *)&pool->pool, NULL, buf)) {
/* pool is not empty, retrieve it and append it to our list */
cur = get_pool(pool);
end->next = cur;
......
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