Commit 2a0ed113 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

fifo: fix FIFO bytes size computation

parent 31268f2d
...@@ -166,7 +166,7 @@ void vlc_fifo_QueueUnlocked(block_fifo_t *fifo, block_t *block) ...@@ -166,7 +166,7 @@ void vlc_fifo_QueueUnlocked(block_fifo_t *fifo, block_t *block)
{ {
fifo->pp_last = &block->p_next; fifo->pp_last = &block->p_next;
fifo->i_depth++; fifo->i_depth++;
fifo->i_size += block->i_size; fifo->i_size += block->i_buffer;
block = block->p_next; block = block->p_next;
} }
......
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