[vlc-commits] Fix sizeof mismatch (cid #1049612)
Rémi Duraffort
git at videolan.org
Sat Jul 20 09:57:58 CEST 2013
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Jul 20 09:52:55 2013 +0200| [99f48b0e95b678780fb692108254016189d3fbe4] | committer: Rémi Duraffort
Fix sizeof mismatch (cid #1049612)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=99f48b0e95b678780fb692108254016189d3fbe4
---
modules/demux/mp4/mp4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index cd3ba41..8838b3d 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -1118,7 +1118,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
return VLC_EGENERIC;
*pi_int = 1;
- *ppp_title = malloc( sizeof( input_title_t**) );
+ *ppp_title = malloc( sizeof( input_title_t*) );
(*ppp_title)[0] = vlc_input_title_Duplicate( p_sys->p_title );
*pi_title_offset = 0;
*pi_seekpoint_offset = 0;
More information about the vlc-commits
mailing list