[vlc-devel] [PATCH 1/4] access: vcd: fix compilation
KO Myung-Hun
komh78 at gmail.com
Fri Aug 9 14:40:57 CEST 2019
---
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
More information about the vlc-devel
mailing list