[vlc-commits] Fix use of uninitialized variable (cid #1049012)
    Rémi Duraffort 
    git at videolan.org
       
    Fri Aug  9 10:28:58 CEST 2013
    
    
  
vlc/vlc-2.1 | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Aug  8 18:54:12 2013 +0200| [7b00c88082aba2668e8aa82569fde2554d73d261] | committer: Jean-Baptiste Kempf
Fix use of uninitialized variable (cid #1049012)
(cherry picked from commit 413800b132792241b190911a27176076c8f6a2e7)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=7b00c88082aba2668e8aa82569fde2554d73d261
---
 modules/demux/mp4/mp4.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 8838b3d..43ab201 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -2458,7 +2458,7 @@ static void MP4_TrackCreate( demux_t *p_demux, mp4_track_t *p_track,
     MP4_Box_t *p_vmhd;
     MP4_Box_t *p_smhd;
 
-    char language[4];
+    char language[4] = { '\0' };
 
     /* hint track unsupported */
 
    
    
More information about the vlc-commits
mailing list