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

Steve Lhomme robux4 at ycbcr.xyz
Thu Jun 4 08:15:40 CEST 2020


LGTM

On 2020-06-03 18:35, RĂ©mi Denis-Courmont wrote:
> ---
>   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
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> 


More information about the vlc-devel mailing list