[vlc-devel] commit: demux_gme: fix potential use of uninitialized value. ( Rémi Duraffort )
git version control
git at videolan.org
Sun Jan 24 15:44:44 CET 2010
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Jan 24 10:19:02 2010 +0100| [07867ac862aa76db92386e06f9b2bbf653df4f28] | committer: Rémi Duraffort
demux_gme: fix potential use of uninitialized value.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=07867ac862aa76db92386e06f9b2bbf653df4f28
---
modules/demux/gme.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/demux/gme.cpp b/modules/demux/gme.cpp
index 427e296..f5efb04 100644
--- a/modules/demux/gme.cpp
+++ b/modules/demux/gme.cpp
@@ -115,7 +115,7 @@ static int Open( vlc_object_t *p_this )
demux_t *p_demux = (demux_t*)p_this;
demux_sys_t *p_sys;
char *ext;
- int i;
+ int i = 0;
vlc_value_t val;
/* We accept file based on extention match */
More information about the vlc-devel
mailing list