Commit 2c470d8d authored by Rémi Duraffort's avatar Rémi Duraffort

Fix sizeof mismatch

parent 513a5123
...@@ -290,7 +290,7 @@ static int Control( access_t *p_access, int i_query, va_list args ) ...@@ -290,7 +290,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
return VLC_EGENERIC; return VLC_EGENERIC;
ppp_title = va_arg( args, input_title_t*** ); ppp_title = va_arg( args, input_title_t*** );
*va_arg( args, int* ) = 1; *va_arg( args, int* ) = 1;
*ppp_title = malloc( sizeof( input_title_t** ) ); *ppp_title = malloc( sizeof( input_title_t* ) );
if( !*ppp_title ) if( !*ppp_title )
return VLC_ENOMEM; return VLC_ENOMEM;
**ppp_title = vlc_input_title_Duplicate( p_sys->p_marks ); **ppp_title = vlc_input_title_Duplicate( p_sys->p_marks );
......
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