diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-19 13:35:10 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-19 13:35:10 +0100 |
commit | f1c3d8b3444c7d628642c92c6f8defcbaec16726 (patch) | |
tree | 5a2ca43ae5816e7c04fb421d1a03d6894547035d /libavutil/buffer.c | |
parent | b619a54853621f56631f3af1674ea450c8f5bbc3 (diff) | |
download | ffmpeg-f1c3d8b3444c7d628642c92c6f8defcbaec16726.tar.gz |
avutil/add_to_pool: remove unused assgnment
Fixed CID991859
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/buffer.c')
-rw-r--r-- | libavutil/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/buffer.c b/libavutil/buffer.c index 854733b32d..fc389a56f6 100644 --- a/libavutil/buffer.c +++ b/libavutil/buffer.c @@ -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; |