[vlc-devel] [PATCH] Revert "MP4 demux: only set fragmented flag if filecontains movie fragment atoms."

Felix Abecassis felix.abecassis at gmail.com
Fri Apr 4 11:13:43 CEST 2014


This reverts commit 9ef5be06a9b3d0a8bf867f707db2d9604b01c807.

Fix #10983.
---
 modules/demux/mp4/mp4.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 10a2ae8..f70fc3a 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -361,8 +361,7 @@ 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 &&
-        MP4_BoxCount( p_sys->p_root, "/moof" ) > 0 )
+    if( MP4_BoxCount( p_sys->p_root, "/moov/mvex" ) > 0 )
     {
         p_sys->b_fragmented = true;
     }
-- 
1.8.3.2




More information about the vlc-devel mailing list