Commit e8f515ed authored by Francois Cartegnie's avatar Francois Cartegnie

demux: mp4: compute virtual box size

parent f1c892ea
......@@ -3648,6 +3648,13 @@ MP4_Box_t *MP4_BoxGetNextChunk( stream_t *s )
MP4_ReadBoxContainerChildren( s, p_chunk, ATOM_moof );
p_tmp_box = p_chunk->p_first;
while( p_tmp_box )
{
p_chunk->i_size += p_tmp_box->i_size;
p_tmp_box = p_tmp_box->p_next;
}
return p_chunk;
}
......
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