]> git.sesse.net Git - vlc/commitdiff
* mp4: parse another box.
authorLaurent Aimar <fenrir@videolan.org>
Sat, 19 Jul 2003 15:12:10 +0000 (15:12 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Sat, 19 Jul 2003 15:12:10 +0000 (15:12 +0000)
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.h

index 4407898e8f0532fe05bb2bdc23e32d5c795d78f5..11488a952fec3acc54748d57b2985682b88ad8ab 100644 (file)
@@ -2,7 +2,7 @@
  * libmp4.c : LibMP4 library for mp4 module for vlc
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
- * $Id: libmp4.c,v 1.27 2003/05/10 11:05:52 hartman Exp $
+ * $Id: libmp4.c,v 1.28 2003/07/19 15:12:10 fenrir Exp $
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -2082,6 +2082,7 @@ static struct
     { FOURCC_rmra,  MP4_ReadBoxContainer,   MP4_FreeBox_Common },
     { FOURCC_rmda,  MP4_ReadBoxContainer,   MP4_FreeBox_Common },
     { FOURCC_tref,  MP4_ReadBoxContainer,   MP4_FreeBox_Common },
+    { FOURCC_gmhd,  MP4_ReadBoxContainer,   MP4_FreeBox_Common },
 
     /* specific box */
     { FOURCC_ftyp,  MP4_ReadBox_ftyp,       MP4_FreeBox_ftyp },
index 44b464e6f0b691b580b4cd92f9dfd6b77cc76e51..eef7a1aa9a19ea7021adfb143c645e27d1ba9fb5 100644 (file)
@@ -2,7 +2,7 @@
  * libmp4.h : LibMP4 library for mp4 module for vlc
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
- * $Id: libmp4.h,v 1.13 2003/05/10 11:05:52 hartman Exp $
+ * $Id: libmp4.h,v 1.14 2003/07/19 15:12:10 fenrir Exp $
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  * 
  * This program is free software; you can redistribute it and/or modify
 #define FOURCC_rmqu VLC_FOURCC( 'r', 'm', 'q', 'u' )
 #define FOURCC_alis VLC_FOURCC( 'a', 'l', 'i', 's' )
 
+#define FOURCC_gmhd VLC_FOURCC( 'g', 'm', 'h', 'd' )
+
 /* Do you want some debug information on all read boxes ? */
 #define MP4_VERBOSE  1