vlc/vlc-2.1 | branch: master | Rémi Duraffort <[email protected]> | Tue Aug 13 22:05:17 2013 +0200| [12462cd1b5beec7c22e44d28c48c3e47fc51753f] | committer: Jean-Baptiste Kempf
Fix sizeof mismatch (cherry picked from commit 2c470d8df4b6a349b5983c27d4f4337d83d81248) Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=12462cd1b5beec7c22e44d28c48c3e47fc51753f --- modules/access/vdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/vdr.c b/modules/access/vdr.c index 72de347..bff25a8 100644 --- a/modules/access/vdr.c +++ b/modules/access/vdr.c @@ -289,7 +289,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( input_title_t** ) ); + *ppp_title = malloc( sizeof( input_title_t* ) ); if( !*ppp_title ) return VLC_ENOMEM; **ppp_title = vlc_input_title_Duplicate( p_sys->p_marks ); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
