[vlc-devel] [PATCH] block: fix copy paste error (fixes #24811)
Alexandre Janniaux
ajanni at videolabs.io
Thu Jun 4 10:46:28 CEST 2020
LGTM, thanks!
Regards,
--
Alexandre Janniaux
Videolabs
On Wed, Jun 03, 2020 at 07:35:42PM +0300, 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