[vlc-devel] [PATCH] picture_fifo: fix variable shadowing

Steve Lhomme robux4 at ycbcr.xyz
Fri Nov 13 15:03:52 CET 2020


LGTM

On 2020-11-13 10:56, Alexandre Janniaux wrote:
> ---
>   src/misc/picture_fifo.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/misc/picture_fifo.c b/src/misc/picture_fifo.c
> index 0cf4a83579..31da652866 100644
> --- a/src/misc/picture_fifo.c
> +++ b/src/misc/picture_fifo.c
> @@ -104,7 +104,7 @@ void picture_fifo_Flush(picture_fifo_t *fifo, vlc_tick_t date, bool flush_before
>           vlc_picture_chain_GetAndClear(&fifo->pics, &filter_chain);
>   
>           while ( !vlc_picture_chain_IsEmpty( &filter_chain ) ) {
> -            picture_t *picture = vlc_picture_chain_PopFront( &filter_chain );
> +            picture = vlc_picture_chain_PopFront( &filter_chain );
>   
>               if (( flush_before && picture->date <= date) ||
>                   (!flush_before && picture->date >= date))
> -- 
> 2.29.2
> 
> _______________________________________________
> 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