[vlc-commits] Fix sizeof mismatch (cid #1049611)
Rémi Duraffort
git at videolan.org
Sat Jul 20 11:52:41 CEST 2013
vlc/vlc-2.1 | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Jul 20 09:54:10 2013 +0200| [cc646efc22e7edaff5ea610f333eb1623bef1849] | committer: Jean-Baptiste Kempf
Fix sizeof mismatch (cid #1049611)
(cherry picked from commit 307c778c355b56ba51f6a3e6817ab8565d42c939)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=cc646efc22e7edaff5ea610f333eb1623bef1849
---
modules/access/bd/bd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/bd/bd.c b/modules/access/bd/bd.c
index 42f9941..a73c88c 100644
--- a/modules/access/bd/bd.c
+++ b/modules/access/bd/bd.c
@@ -318,7 +318,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
/* Duplicate title infos */
*pi_int = p_sys->i_title;
- *ppp_title = calloc( p_sys->i_title, sizeof(input_title_t **) );
+ *ppp_title = calloc( p_sys->i_title, sizeof(input_title_t *) );
for( 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