vlc | branch: master | Rémi Duraffort <[email protected]> | Fri Jul 26 
19:29:07 2013 +0200| [f6d3a1dc63c0e327477f82ab46b9821ca7527c3a] | committer: 
Rémi Duraffort

Fix sizeof mismatch

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f6d3a1dc63c0e327477f82ab46b9821ca7527c3a
---

 modules/demux/avformat/demux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
index 016c5be..a021eaa 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -931,7 +931,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;

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to