[vlc-commits] Fix sizeof mismatch (cid #1064682)
Rémi Duraffort
git at videolan.org
Thu Aug 29 14:19:21 CEST 2013
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Aug 28 20:15:09 2013 +0200| [b0293e2f7453f4d40d0d852eb3b825ef9e11a349] | committer: Jean-Baptiste Kempf
Fix sizeof mismatch (cid #1064682)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b0293e2f7453f4d40d0d852eb3b825ef9e11a349
---
modules/access/bluray.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 5b12a1a..e859431 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -1288,7 +1288,7 @@ static int blurayControl(demux_t *p_demux, int query, va_list args)
/* Duplicate local title infos */
*pi_int = p_sys->i_title;
- *ppp_title = malloc(p_sys->i_title * sizeof(input_title_t **));
+ *ppp_title = malloc(p_sys->i_title * sizeof(input_title_t *));
for (unsigned int i = 0; i < p_sys->i_title; i++)
(*ppp_title)[i] = vlc_input_title_Duplicate(p_sys->pp_title[i]);
More information about the vlc-commits
mailing list