[vlc-devel] [PATCH 1/3] decoder: remove dead code

Steve Lhomme robux4 at ycbcr.xyz
Mon Nov 30 09:22:45 CET 2020


patchset LGTM

On 2020-11-27 16:21, Thomas Guillem wrote:
> Indeed, the pool is always released just before now.
> ---
>   src/input/decoder.c | 3 ---
>   1 file changed, 3 deletions(-)
> 
> diff --git a/src/input/decoder.c b/src/input/decoder.c
> index 793c7e687f9..19b774c49c1 100644
> --- a/src/input/decoder.c
> +++ b/src/input/decoder.c
> @@ -1948,9 +1948,6 @@ static void DeleteDecoder( vlc_input_decoder_t *p_owner )
>           case VIDEO_ES: {
>               vout_thread_t *vout = p_owner->p_vout;
>   
> -            if (p_owner->out_pool)
> -                picture_pool_Cancel( p_owner->out_pool, false );
> -
>               if (vout != NULL)
>               {
>                   /* Hold the vout since PutVout will likely release it and a
> -- 
> 2.28.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