[vlc-devel] [PATCH 1/5] access: vcd: fix compilation

Steve Lhomme robux4 at ycbcr.xyz
Tue Nov 19 13:40:25 CET 2019


LGTM

On 2019-11-19 13:16, KO Myung-Hun wrote:
> ---
>   modules/access/vcd/cdrom.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/modules/access/vcd/cdrom.c b/modules/access/vcd/cdrom.c
> index 40c4008f76..5bda0d17a1 100644
> --- a/modules/access/vcd/cdrom.c
> +++ b/modules/access/vcd/cdrom.c
> @@ -427,7 +427,7 @@ vcddev_toc_t * ioctl_GetTOC( vlc_object_t *p_this, const vcddev_t *p_vcddev,
>               int i;
>   
>               p_toc->p_sectors = calloc( p_toc->i_tracks + 1, sizeof(*p_toc->p_sectors) );
> -            if( *p_toc->p_sectors == NULL )
> +            if( p_toc->p_sectors == NULL )
>               {
>                   vcddev_toc_Free( p_toc );
>                   return NULL;
> -- 
> 2.22.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