[vlc-commits] access: vcd: fix compilation
KO Myung-Hun
git at videolan.org
Fri Nov 29 19:14:04 CET 2019
vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Tue Nov 19 21:16:57 2019 +0900| [8c28d71399631affe107fe70a0a6d6664544b056] | committer: Rémi Denis-Courmont
access: vcd: fix compilation
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8c28d71399631affe107fe70a0a6d6664544b056
---
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;
More information about the vlc-commits
mailing list