[vlc-commits] Fix sizeof mismatch

Rémi Duraffort git at videolan.org
Tue Aug 13 22:05:37 CEST 2013


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Aug 13 22:05:17 2013 +0200| [2c470d8df4b6a349b5983c27d4f4337d83d81248] | committer: Rémi Duraffort

Fix sizeof mismatch

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

 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 ce83c55..c387db4 100644
--- a/modules/access/vdr.c
+++ b/modules/access/vdr.c
@@ -290,7 +290,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 );



More information about the vlc-commits mailing list