[vlc-commits] mux: mp4: uninitialized variables
Francois Cartegnie
git at videolan.org
Wed May 14 20:02:03 CEST 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed May 14 19:54:37 2014 +0200| [4c5277f984a03c80561b9de492025fb3c5eff65b] | committer: Francois Cartegnie
mux: mp4: uninitialized variables
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4c5277f984a03c80561b9de492025fb3c5eff65b
---
modules/mux/mp4.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/mux/mp4.c b/modules/mux/mp4.c
index 39a1e1f..eff9226 100644
--- a/modules/mux/mp4.c
+++ b/modules/mux/mp4.c
@@ -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) {
More information about the vlc-commits
mailing list