[vlc-devel] commit: Fix bad declaration (Christophe Mutricy )
git version control
git at videolan.org
Sun Sep 28 00:50:54 CEST 2008
vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Sat Sep 27 23:29:59 2008 +0100| [d626fdc4452fba42baf489bbebf86d8d21856f50] | committer: Christophe Mutricy
Fix bad declaration
Not sure how it's called but i guess it would have resulted in crashes or memory corruption
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d626fdc4452fba42baf489bbebf86d8d21856f50
---
modules/misc/notify/xosd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/misc/notify/xosd.c b/modules/misc/notify/xosd.c
index eb78a16..b8bd21c 100644
--- a/modules/misc/notify/xosd.c
+++ b/modules/misc/notify/xosd.c
@@ -108,7 +108,7 @@ static int Open( vlc_object_t *p_this )
{
intf_thread_t *p_intf = (intf_thread_t *)p_this;
xosd *p_osd;
- char *psz_font, psz_colour;
+ char *psz_font, *psz_colour;
/* Allocate instance and initialize some members */
p_intf->p_sys = (intf_sys_t *)malloc( sizeof( intf_sys_t ) );
More information about the vlc-devel
mailing list