[vlc-commits] demux: real: missing initializer (cid #1049014)

Francois Cartegnie git at videolan.org
Thu Apr 17 14:11:37 CEST 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Apr 17 13:37:58 2014 +0200| [426e9e88e6107949b9c6fefcebaf6711799dc958] | committer: Francois Cartegnie

demux: real: missing initializer (cid #1049014)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=426e9e88e6107949b9c6fefcebaf6711799dc958
---

 modules/demux/real.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/real.c b/modules/demux/real.c
index ebf031b..fa32198 100644
--- a/modules/demux/real.c
+++ b/modules/demux/real.c
@@ -1445,7 +1445,7 @@ static int CodecAudioParse( demux_t *p_demux, int i_tk_id, const uint8_t *p_data
     int i_subpacket_h = 0;
     int i_frame_size = 0;
     int i_subpacket_size = 0;
-    char p_genr[4];
+    char p_genr[4] = {0,0,0,0};
     int i_version = GetWBE( &p_data[4] );
     int i_extra_codec = 0;
 



More information about the vlc-commits mailing list