]> git.sesse.net Git - vlc/commitdiff
* mp4.c: allowed multiple moov headers by taking the first one
authorLaurent Aimar <fenrir@videolan.org>
Wed, 8 Jan 2003 10:46:30 +0000 (10:46 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Wed, 8 Jan 2003 10:46:30 +0000 (10:46 +0000)
(multiple moov headers is strictly forbidden but I 've seen such file)

modules/demux/mp4/mp4.c

index 53d4a286f0c6b2d33b4093f2c0e98c661634a89c..63c3b2bad607038988e3ee2de5cdc6f826b1953f 100644 (file)
@@ -2,7 +2,7 @@
  * mp4.c : MP4 file input module for vlc
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
- * $Id: mp4.c,v 1.11 2003/01/07 21:49:01 fenrir Exp $
+ * $Id: mp4.c,v 1.12 2003/01/08 10:46:30 fenrir Exp $
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -190,8 +190,8 @@ static int MP4Init( vlc_object_t * p_this )
         msg_Err( p_input, 
                  "MP4 plugin discarded (%d moov box)",
                  MP4_BoxCount( &p_demux->box_root, "/moov" ) );
-        MP4End( p_input );
-        return( -1 );
+//        MP4End( p_input );
+//        return( -1 );
     }
 
     if( !(p_mvhd = MP4_BoxGet( &p_demux->box_root, "/moov/mvhd" ) ) )