[vlc-commits] Fix sizeof mismatch (cid #1049614)
Rémi Duraffort
git at videolan.org
Sat Jul 20 11:52:40 CEST 2013
vlc/vlc-2.1 | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Jul 20 09:50:48 2013 +0200| [c49f8a783c0347948d361961a63648234acd70ed] | committer: Jean-Baptiste Kempf
Fix sizeof mismatch (cid #1049614)
(cherry picked from commit e7e81115637e3273fb0d1a5a3dbc389992d5ec1e)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=c49f8a783c0347948d361961a63648234acd70ed
---
modules/demux/mkv/mkv.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp
index 890fde6..997df5b 100644
--- a/modules/demux/mkv/mkv.cpp
+++ b/modules/demux/mkv/mkv.cpp
@@ -301,7 +301,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
return VLC_EGENERIC;
*pi_int = p_sys->stored_attachments.size();
- *ppp_attach = (input_attachment_t**)malloc( sizeof(input_attachment_t**) *
+ *ppp_attach = (input_attachment_t**)malloc( sizeof(input_attachment_t*) *
p_sys->stored_attachments.size() );
if( !(*ppp_attach) )
return VLC_ENOMEM;
More information about the vlc-commits
mailing list