libmp4: fix segfault
Le 28/10/2014 23:11, Frédéric Yhuel a écrit :
> 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 )
> {
>
Better fail early. (untested, no sample)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Showing
Please register or sign in to comment