From 4c2181e9489dd1b86f969955a612b4f217b1cf89 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Sat, 19 Jul 2003 15:12:10 +0000 Subject: [PATCH] * mp4: parse another box. --- modules/demux/mp4/libmp4.c | 3 ++- modules/demux/mp4/libmp4.h | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c index 4407898e8f..11488a952f 100644 --- a/modules/demux/mp4/libmp4.c +++ b/modules/demux/mp4/libmp4.c @@ -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 * * 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 }, diff --git a/modules/demux/mp4/libmp4.h b/modules/demux/mp4/libmp4.h index 44b464e6f0..eef7a1aa9a 100644 --- a/modules/demux/mp4/libmp4.h +++ b/modules/demux/mp4/libmp4.h @@ -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 * * This program is free software; you can redistribute it and/or modify @@ -150,6 +150,8 @@ #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 -- 2.20.1