]> git.sesse.net Git - vlc/commitdiff
mux: mp4: uninitialized variables
authorFrancois Cartegnie <fcvlcdev@free.fr>
Wed, 14 May 2014 17:54:37 +0000 (19:54 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Wed, 14 May 2014 18:01:30 +0000 (20:01 +0200)
modules/mux/mp4.c

index 39a1e1f823d8567dbc8fb1861199ced311ad2104..eff9226ee64f5222eac3c92d361e653d1e2c59c2 100644 (file)
@@ -850,11 +850,11 @@ static bo_t *GetHvcCTag(mp4_stream_t *p_stream)
     size_t i_buffer = p_stream->fmt.i_extra;
 
     uint8_t general_configuration[12] = {0};
-    uint8_t i_numTemporalLayer;
+    uint8_t i_numTemporalLayer = 0;
     uint8_t i_chroma_idc = 1;
     uint8_t i_bit_depth_luma_minus8 = 0;
     uint8_t i_bit_depth_chroma_minus8 = 0;
-    bool b_temporalIdNested;
+    bool b_temporalIdNested = false;
 
     uint32_t cmp = 0xFFFFFFFF;
     while (i_buffer) {