[vlc-commits] block: fix copy paste error (fixes #24811)

Rémi Denis-Courmont git at videolan.org
Sat Jun 6 08:07:53 CEST 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jun  3 19:35:21 2020 +0300| [cc07bccf16ae70f8811e2a4c557a26c96269d72d] | committer: Rémi Denis-Courmont

block: fix copy paste error (fixes #24811)

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

 src/misc/fifo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/misc/fifo.c b/src/misc/fifo.c
index ddfff586e6..8361d30c3d 100644
--- a/src/misc/fifo.c
+++ b/src/misc/fifo.c
@@ -60,7 +60,7 @@ void vlc_fifo_QueueUnlocked(block_fifo_t *fifo, block_t *block)
 {
     for (block_t *b = block; b != NULL; b = b->p_next) {
         fifo->i_depth++;
-        fifo->i_size += block->i_buffer;
+        fifo->i_size += b->i_buffer;
     }
 
     vlc_queue_EnqueueUnlocked(&fifo->q, block);



More information about the vlc-commits mailing list