mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-28 23:09:59 +02:00
demux: mp4: missing temp box parenting
Otherwise fails special parenting checks ex: in ATOM_meta reads
This commit is contained in:
parent
8b7a40b641
commit
d1daa6eac8
@ -238,6 +238,7 @@ static MP4_Box_t *MP4_ReadBoxRestricted( stream_t *p_stream, MP4_Box_t *p_father
|
||||
*p_box = peekbox;
|
||||
|
||||
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 )
|
||||
{
|
||||
msg_Warn( p_stream, "Failed reading box %4.4s", (char*) &peekbox.i_type );
|
||||
|
Loading…
Reference in New Issue
Block a user