[vlc-devel] [PATCH] block: fix copy paste error (fixes #24811)
RĂ©mi Denis-Courmont
remi at remlab.net
Wed Jun 3 18:35:42 CEST 2020
---
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);
--
2.27.0
More information about the vlc-devel
mailing list