Commit 9ef5be06 authored by Matthias Keiser's avatar Matthias Keiser Committed by Jean-Baptiste Kempf

MP4 demux: only set fragmented flag if filecontains movie fragment atoms.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 307a8c17
......@@ -361,7 +361,8 @@ static int Open( vlc_object_t * p_this )
if( LoadInitFrag( p_demux, b_smooth ) != VLC_SUCCESS )
goto error;
if( MP4_BoxCount( p_sys->p_root, "/moov/mvex" ) > 0 )
if( MP4_BoxCount( p_sys->p_root, "/moov/mvex" ) > 0 &&
MP4_BoxCount( p_sys->p_root, "/moof" ) > 0 )
{
p_sys->b_fragmented = true;
}
......
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