[vlc-devel] [PATCH] demux: ts: remove useless variable initialisation

Tristan Matthews tmatth at videolan.org
Tue Mar 16 12:45:04 UTC 2021


On Tue, Mar 16, 2021 at 8:44 AM Thomas Guillem <thomas at gllm.fr> wrote:
>
> Since the variable is set just after.
> ---
>  modules/demux/mpeg/ts.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
> index 6361715cc67..5b20b6c3d49 100644
> --- a/modules/demux/mpeg/ts.c
> +++ b/modules/demux/mpeg/ts.c
> @@ -425,7 +425,6 @@ static int Open( vlc_object_t *p_this )
>          return VLC_EGENERIC;
>      }
>
> -    p_sys->b_access_control = true;
>      p_sys->b_access_control = ( VLC_SUCCESS == SetPIDFilter( p_sys, patpid, true ) );
>
>      p_sys->i_pmt_es = 0;
> --
> 2.30.0
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

LGTM


More information about the vlc-devel mailing list