vlc | branch: master | KO Myung-Hun <[email protected]> | 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 <[email protected]>

> 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;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to