[FFmpeg-cvslog] avutil/add_to_pool: remove unused assgnment

Michael Niedermayer git at videolan.org
Tue Mar 19 14:04:40 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Mar 19 13:35:10 2013 +0100| [f1c3d8b3444c7d628642c92c6f8defcbaec16726] | committer: Michael Niedermayer

avutil/add_to_pool: remove unused assgnment

Fixed CID991859
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f1c3d8b3444c7d628642c92c6f8defcbaec16726
---

 libavutil/buffer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/buffer.c b/libavutil/buffer.c
index 854733b..fc389a5 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;



More information about the ffmpeg-cvslog mailing list