Commit 4e44edef authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

MP4: small cosmetics fixes

parent 1e7532bb
/***************************************************************************** /*****************************************************************************
* libmp4.c : LibMP4 library for mp4 module for vlc * 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$ * $Id$
* *
* Author: Laurent Aimar <fenrir@via.ecp.fr> * Author: Laurent Aimar <fenrir@via.ecp.fr>
...@@ -20,13 +20,12 @@ ...@@ -20,13 +20,12 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# include "config.h" # include "config.h"
#endif #endif
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_demux.h> #include <vlc_demux.h>
#ifdef HAVE_ZLIB_H #ifdef HAVE_ZLIB_H
...@@ -41,6 +40,7 @@ ...@@ -41,6 +40,7 @@
* *look* at the code. * *look* at the code.
* *
*****************************************************************************/ *****************************************************************************/
#define MP4_BOX_HEADERSIZE( p_box ) \ #define MP4_BOX_HEADERSIZE( p_box ) \
( 8 + ( p_box->i_shortsize == 1 ? 8 : 0 ) \ ( 8 + ( p_box->i_shortsize == 1 ? 8 : 0 ) \
+ ( p_box->i_type == FOURCC_uuid ? 16 : 0 ) ) + ( p_box->i_type == FOURCC_uuid ? 16 : 0 ) )
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
/* Some assumptions: /* Some assumptions:
* The input method HAVE to be seekable * The input method HAS to be seekable
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment