[vlc-commits] fix use of uninitialized variable on error
Ludovic Fauvet
git at videolan.org
Mon Dec 10 16:54:42 CET 2012
vlc/vlc-2.0 | branch: master | Ludovic Fauvet <etix at videolan.org> | Fri Aug 31 02:37:15 2012 +0200| [b5e0afa31a3702533671b8923e181c3d5cf56833] | committer: Jean-Baptiste Kempf
fix use of uninitialized variable on error
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
(cherry picked from commit 2ee43275e3dfe528f9bc41f8520ba218487d0588)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=b5e0afa31a3702533671b8923e181c3d5cf56833
---
src/input/input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/input/input.c b/src/input/input.c
index 792fd05..f649bd8 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2356,7 +2356,7 @@ static int InputSourceInit( input_thread_t *p_input,
input_source_t *in, const char *psz_mrl,
const char *psz_forced_demux, bool b_in_can_fail )
{
- const char *psz_access, *psz_demux, *psz_path, *psz_anchor;
+ const char *psz_access, *psz_demux, *psz_path, *psz_anchor = NULL;
char *psz_var_demux = NULL;
double f_fps;
More information about the vlc-commits
mailing list