diff options
author | Rocky Bernstein <rockyb@users.sourceforge.net> | 2004-07-18 14:52:50 +0000 |
---|---|---|
committer | Rocky Bernstein <rockyb@users.sourceforge.net> | 2004-07-18 14:52:50 +0000 |
commit | cce87ff42b3ff43fe97eab277e8570249be5d0a7 (patch) | |
tree | bb3cc89252dd8ed1560fb09ee662af8eb1de6f9a /src | |
parent | be4a70a1a6caf4da76c47c34a31a8aece4cada10 (diff) | |
download | xine-lib-cce87ff42b3ff43fe97eab277e8570249be5d0a7.tar.gz xine-lib-cce87ff42b3ff43fe97eab277e8570249be5d0a7.tar.bz2 |
Should have Initialized all bytes.
CVS patchset: 6807
CVS date: 2004/07/18 14:52:50
Diffstat (limited to 'src')
-rw-r--r-- | src/input/vcd/xineplug_inp_vcd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/vcd/xineplug_inp_vcd.c b/src/input/vcd/xineplug_inp_vcd.c index e4b3210ad..27c316f60 100644 --- a/src/input/vcd/xineplug_inp_vcd.c +++ b/src/input/vcd/xineplug_inp_vcd.c @@ -1,5 +1,5 @@ /* - $Id: xineplug_inp_vcd.c,v 1.19 2004/07/18 14:46:59 rockyb Exp $ + $Id: xineplug_inp_vcd.c,v 1.20 2004/07/18 14:52:50 rockyb Exp $ Copyright (C) 2002, 2003, 2004 Rocky Bernstein <rocky@panix.com> @@ -791,7 +791,7 @@ static xine_mrl_t ** vcd_class_get_dir (input_class_t *this_gen, const char *filename, int *num_files) { - char intended_vcd_device[MRL_MAX_LEN+1]=""; + char intended_vcd_device[MRL_MAX_LEN+1]= { '\0', }; vcdinfo_itemid_t itemid; vcd_input_class_t *class = (vcd_input_class_t *) this_gen; @@ -1453,7 +1453,7 @@ vcd_class_get_instance (input_class_t *class_gen, xine_stream_t *stream, { vcd_input_class_t *class = (vcd_input_class_t *) class_gen; - char intended_vcd_device[MRL_MAX_LEN+1]=""; + char intended_vcd_device[MRL_MAX_LEN+1]= { '\0', }; vcdinfo_itemid_t itemid; char *check_mrl=NULL; bool used_default; |