Commit 33ecade2 authored by Frédéric Yhuel's avatar Frédéric Yhuel Committed by Ilkka Ollakka

demux/mp4: bug fix for files with 'moov' at the end

This fixes a bug introduced with the fragmented MP4 patch.
Signed-off-by: default avatarIlkka Ollakka <ileoo@videolan.org>
parent 344f8406
...@@ -3610,6 +3610,7 @@ MP4_Box_t *MP4_BoxGetRoot( stream_t *s ) ...@@ -3610,6 +3610,7 @@ MP4_Box_t *MP4_BoxGetRoot( stream_t *s )
return p_root; return p_root;
p_root->i_size = stream_Size( s ); p_root->i_size = stream_Size( s );
stream_Seek( p_stream, 0 );
/* Get the rest of the file */ /* Get the rest of the file */
i_result = MP4_ReadBoxContainerRaw( p_stream, p_root ); i_result = MP4_ReadBoxContainerRaw( p_stream, p_root );
......
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