Commit 99f48b0e authored by Rémi Duraffort's avatar Rémi Duraffort

Fix sizeof mismatch (cid #1049612)

parent 7803254a
...@@ -1118,7 +1118,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) ...@@ -1118,7 +1118,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
return VLC_EGENERIC; return VLC_EGENERIC;
*pi_int = 1; *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 ); (*ppp_title)[0] = vlc_input_title_Duplicate( p_sys->p_title );
*pi_title_offset = 0; *pi_title_offset = 0;
*pi_seekpoint_offset = 0; *pi_seekpoint_offset = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment