[vlc-devel] commit: Fix uninitialized variables (CID 242) (Jean-Baptiste Kempf )
git version control
git at videolan.org
Thu Oct 2 21:13:29 CEST 2008
vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Wed Oct 1 11:29:57 2008 -0700| [f010266818e9678f3e9b7e91a849613dba1caa4d] | committer: Derk-Jan Hartman
Fix uninitialized variables (CID 242)
(cherry picked from commit 2f066806f4066261509bde9f84b9fba027d1e43e)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f010266818e9678f3e9b7e91a849613dba1caa4d
---
.../dynamicoverlay/dynamicoverlay_commands.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/video_filter/dynamicoverlay/dynamicoverlay_commands.c b/modules/video_filter/dynamicoverlay/dynamicoverlay_commands.c
index b50acd0..03e28b2 100644
--- a/modules/video_filter/dynamicoverlay/dynamicoverlay_commands.c
+++ b/modules/video_filter/dynamicoverlay/dynamicoverlay_commands.c
@@ -242,8 +242,9 @@ static int parser_SetTextAlpha( char *psz_command, char *psz_end,
static int parser_SetTextColor( char *psz_command, char *psz_end,
commandparams_t *p_params )
{
- int r, g, b;
+ int r = 0, g = 0, b = 0;
VLC_UNUSED(psz_end);
+
skip_space( &psz_command );
if( isdigit( *psz_command ) )
{
More information about the vlc-devel
mailing list