Commit 169a772a authored by Tristan Matthews's avatar Tristan Matthews Committed by Jean-Baptiste Kempf

vdr: really fix sizeof mismatch

(cherry picked from commit 6873c2417e1cfa48a659c5d44dcb6f15a9e6a6d1)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent db5150ec
......@@ -294,7 +294,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
return VLC_EGENERIC;
ppp_title = va_arg( args, input_title_t*** );
*va_arg( args, int* ) = 1;
*ppp_title = malloc( sizeof( *ppp_title ) );
*ppp_title = malloc( sizeof( **ppp_title ) );
if( !*ppp_title )
return VLC_ENOMEM;
**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