[vlc-devel] [PATCH 2/5] access: vcd: fix compilation
KO Myung-Hun
komh78 at gmail.com
Sun Jun 16 16:35:35 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 8d7a461d3c..968a32b33b 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.13.3
More information about the vlc-devel
mailing list