Commit d1daa6ea authored by Francois Cartegnie's avatar Francois Cartegnie

demux: mp4: missing temp box parenting

Otherwise fails special parenting checks
ex: in ATOM_meta reads
parent 8b7a40b6
...@@ -238,6 +238,7 @@ static MP4_Box_t *MP4_ReadBoxRestricted( stream_t *p_stream, MP4_Box_t *p_father ...@@ -238,6 +238,7 @@ static MP4_Box_t *MP4_ReadBoxRestricted( stream_t *p_stream, MP4_Box_t *p_father
*p_box = peekbox; *p_box = peekbox;
const uint64_t i_next = p_box->i_pos + p_box->i_size; const uint64_t i_next = p_box->i_pos + p_box->i_size;
p_box->p_father = p_father;
if( MP4_Box_Read_Specific( p_stream, p_box, p_father ) != VLC_SUCCESS ) if( MP4_Box_Read_Specific( p_stream, p_box, p_father ) != VLC_SUCCESS )
{ {
msg_Warn( p_stream, "Failed reading box %4.4s", (char*) &peekbox.i_type ); msg_Warn( p_stream, "Failed reading box %4.4s", (char*) &peekbox.i_type );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment