[vlc-devel] [PATCH] libmp4: fix segfault
Frédéric Yhuel
yhuelf at gmail.com
Tue Oct 28 23:11:16 CET 2014
---
modules/demux/mp4/libmp4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 5f02754..636a316 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -146,7 +146,7 @@ int MP4_ReadBoxCommon( stream_t *p_stream, MP4_Box_t *p_box )
*****************************************************************************/
static int MP4_NextBox( stream_t *p_stream, MP4_Box_t *p_box )
{
- MP4_Box_t box;
+ MP4_Box_t box = {0};
if( !p_box )
{
--
2.1.2
More information about the vlc-devel
mailing list