[vlc-commits] commit: MP4: small cosmetics fixes (Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Wed May 19 00:04:11 CEST 2010
vlc/vlc-1.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue May 18 23:04:42 2010 +0200| [1fc595a8de46f15ad27fc474fdf05935c7115473] | committer: Jean-Baptiste Kempf
MP4: small cosmetics fixes
(cherry picked from commit 4e44edef3313d8c6e6a61ad6018f630657451403)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=1fc595a8de46f15ad27fc474fdf05935c7115473
---
modules/demux/mp4/libmp4.c | 10 +++++-----
modules/demux/mp4/libmp4.h | 22 +++++++++++-----------
modules/demux/mp4/mp4.c | 2 +-
3 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index d9972c9..62df03a 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -1,7 +1,7 @@
/*****************************************************************************
* libmp4.c : LibMP4 library for mp4 module for vlc
*****************************************************************************
- * Copyright (C) 2001-2004 the VideoLAN team
+ * Copyright (C) 2001-2004, 2010 the VideoLAN team
* $Id$
*
* Author: Laurent Aimar <fenrir at via.ecp.fr>
@@ -20,13 +20,12 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
+
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <vlc_common.h>
-
-
#include <vlc_demux.h>
#ifdef HAVE_ZLIB_H
@@ -38,9 +37,10 @@
/*****************************************************************************
* Here are defined some macro to make life simpler but before using it
- * *look* at the code.
+ * *look* at the code.
*
*****************************************************************************/
+
#define MP4_BOX_HEADERSIZE( p_box ) \
( 8 + ( p_box->i_shortsize == 1 ? 8 : 0 ) \
+ ( p_box->i_type == FOURCC_uuid ? 16 : 0 ) )
@@ -114,7 +114,7 @@
/* Some assumptions:
- * The input method HAVE to be seekable
+ * The input method HAS to be seekable
*/
diff --git a/modules/demux/mp4/libmp4.h b/modules/demux/mp4/libmp4.h
index 24263fc..6792a86 100644
--- a/modules/demux/mp4/libmp4.h
+++ b/modules/demux/mp4/libmp4.h
@@ -920,17 +920,17 @@ typedef union MP4_Box_data_s
MP4_Box_data_stts_t *p_stts;
MP4_Box_data_ctts_t *p_ctts;
MP4_Box_data_stsd_t *p_stsd;
- MP4_Box_data_sample_vide_t *p_sample_vide;
- MP4_Box_data_sample_soun_t *p_sample_soun;
- MP4_Box_data_sample_text_t *p_sample_text;
- MP4_Box_data_sample_hint_t *p_sample_hint;
-
- MP4_Box_data_esds_t *p_esds;
- MP4_Box_data_avcC_t *p_avcC;
- MP4_Box_data_dac3_t *p_dac3;
- MP4_Box_data_enda_t *p_enda;
- MP4_Box_data_gnre_t *p_gnre;
- MP4_Box_data_trkn_t *p_trkn;
+ MP4_Box_data_sample_vide_t *p_sample_vide;
+ MP4_Box_data_sample_soun_t *p_sample_soun;
+ MP4_Box_data_sample_text_t *p_sample_text;
+ MP4_Box_data_sample_hint_t *p_sample_hint;
+
+ MP4_Box_data_esds_t *p_esds;
+ MP4_Box_data_avcC_t *p_avcC;
+ MP4_Box_data_dac3_t *p_dac3;
+ MP4_Box_data_enda_t *p_enda;
+ MP4_Box_data_gnre_t *p_gnre;
+ MP4_Box_data_trkn_t *p_trkn;
MP4_Box_data_stsz_t *p_stsz;
MP4_Box_data_stz2_t *p_stz2;
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index c7a30ee..52af601 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -935,7 +935,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
case FOURCC_0xa9enc: /* Encoded By */
SET( vlc_meta_SetEncodedBy );
break;
-
+
case FOURCC_0xa9swr:
case FOURCC_0xa9inf: /* Information */
case FOURCC_0xa9dir: /* Director */
More information about the vlc-commits
mailing list