[vlc-commits] vcd: fix sizeof mismatch (cid #1048981)
Rémi Duraffort
git at videolan.org
Wed Dec 11 18:59:47 CET 2013
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Dec 11 18:58:15 2013 +0100| [cdacb3aa0bc86052afad226cd55c65cb33638cee] | committer: Rémi Duraffort
vcd: fix sizeof mismatch (cid #1048981)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cdacb3aa0bc86052afad226cd55c65cb33638cee
---
modules/access/vcd/vcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/vcd/vcd.c b/modules/access/vcd/vcd.c
index ea2675f..8500770 100644
--- a/modules/access/vcd/vcd.c
+++ b/modules/access/vcd/vcd.c
@@ -264,7 +264,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
*va_arg( args, int* ) = p_sys->i_titles;
/* Duplicate title infos */
- *ppp_title = malloc( sizeof(input_title_t **) * p_sys->i_titles );
+ *ppp_title = malloc( sizeof(input_title_t *) * p_sys->i_titles );
for( int i = 0; i < p_sys->i_titles; i++ )
(*ppp_title)[i] = vlc_input_title_Duplicate( p_sys->title[i] );
break;
More information about the vlc-commits
mailing list