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

Felix Abecassis git at videolan.org
Fri Apr 4 16:43:50 CEST 2014


vlc | branch: master | Felix Abecassis <felix.abecassis at gmail.com> | Fri Apr  4 11:13:43 2014 +0200| [bbacf6f98daece8f61517094a4fcc8a426bcb2d2] | committer: Felix Paul Kühne

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

This reverts commit 9ef5be06a9b3d0a8bf867f707db2d9604b01c807.

Fix #10983.

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bbacf6f98daece8f61517094a4fcc8a426bcb2d2
---

 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;
     }



More information about the vlc-commits mailing list