[vlc-commits] demux: libmp4: unexpose MP4_PeekBoxHeader
Francois Cartegnie
git at videolan.org
Wed Aug 3 14:49:39 CEST 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Aug 3 14:40:17 2016 +0200| [6015e2bb537c1c2bba2d575d4d67285bae9bfebf] | committer: Francois Cartegnie
demux: libmp4: unexpose MP4_PeekBoxHeader
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6015e2bb537c1c2bba2d575d4d67285bae9bfebf
---
modules/demux/mp4/libmp4.c | 3 ++-
modules/demux/mp4/libmp4.h | 3 +--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index e4bbd49..19fc2be 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -74,6 +74,7 @@ static void MP4_ConvertDate2Str( char *psz, uint64_t i_date, bool b_relative )
static MP4_Box_t *MP4_ReadBox( stream_t *p_stream, MP4_Box_t *p_father );
static int MP4_Box_Read_Specific( stream_t *p_stream, MP4_Box_t *p_box, MP4_Box_t *p_father );
static void MP4_Box_Clean_Specific( MP4_Box_t *p_box );
+static int MP4_PeekBoxHeader( stream_t *p_stream, MP4_Box_t *p_box );
static int MP4_Seek( stream_t *p_stream, uint64_t i_pos )
{
@@ -139,7 +140,7 @@ MP4_Box_t * MP4_BoxExtract( MP4_Box_t **pp_chain, uint32_t i_type )
*
* RETURN : 0 if it fail, 1 otherwise
*****************************************************************************/
-int MP4_PeekBoxHeader( stream_t *p_stream, MP4_Box_t *p_box )
+static int MP4_PeekBoxHeader( stream_t *p_stream, MP4_Box_t *p_box )
{
int i_read;
const uint8_t *p_peek;
diff --git a/modules/demux/mp4/libmp4.h b/modules/demux/mp4/libmp4.h
index 95ad3fe..58b711e 100644
--- a/modules/demux/mp4/libmp4.h
+++ b/modules/demux/mp4/libmp4.h
@@ -1845,8 +1845,7 @@ unsigned MP4_BoxCount( const MP4_Box_t *p_box, const char *psz_fmt, ... );
MP4_Box_t * MP4_BoxExtract( MP4_Box_t **pp_chain, uint32_t i_type );
-/* Internal functions exposed for MKV demux */
-int MP4_PeekBoxHeader( stream_t *p_stream, MP4_Box_t *p_box );
+/* Internal functions exposed for demuxers */
int MP4_ReadBoxContainerChildren( stream_t *p_stream, MP4_Box_t *p_container,
const uint32_t stoplist[] );
int MP4_ReadBox_sample_vide( stream_t *p_stream, MP4_Box_t *p_box );
More information about the vlc-commits
mailing list