Commit 5a363831 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

mp4: improve debug and clean

parent 3c8b5b9c
...@@ -756,7 +756,7 @@ static int MP4_ReadBox_hdlr( stream_t *p_stream, MP4_Box_t *p_box ) ...@@ -756,7 +756,7 @@ static int MP4_ReadBox_hdlr( stream_t *p_stream, MP4_Box_t *p_box )
} }
#ifdef MP4_VERBOSE #ifdef MP4_VERBOSE
msg_Dbg( p_stream, "read box: \"hdlr\" handler type %4.4s name %s", msg_Dbg( p_stream, "read box: \"hdlr\" handler type: \"%4.4s\" name: \"%s\"",
(char*)&p_box->data.p_hdlr->i_handler_type, (char*)&p_box->data.p_hdlr->i_handler_type,
p_box->data.p_hdlr->psz_name ); p_box->data.p_hdlr->psz_name );
......
...@@ -19,10 +19,10 @@ ...@@ -19,10 +19,10 @@
* 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.
*****************************************************************************/ *****************************************************************************/
#ifndef _VLC_MP4_H #ifndef _VLC_MP4_H
#define _VLC_MP4_H 1 #define _VLC_MP4_H 1
#define FOURCC_uuid VLC_FOURCC( 'u', 'u', 'i', 'd' ) #define FOURCC_uuid VLC_FOURCC( 'u', 'u', 'i', 'd' )
#define FOURCC_ftyp VLC_FOURCC( 'f', 't', 'y', 'p' ) #define FOURCC_ftyp VLC_FOURCC( 'f', 't', 'y', 'p' )
...@@ -1082,7 +1082,6 @@ void MP4_BoxFree( stream_t *, MP4_Box_t *p_box ); ...@@ -1082,7 +1082,6 @@ void MP4_BoxFree( stream_t *, MP4_Box_t *p_box );
*****************************************************************************/ *****************************************************************************/
void MP4_BoxDumpStructure( stream_t *p_input, MP4_Box_t *p_box ); void MP4_BoxDumpStructure( stream_t *p_input, MP4_Box_t *p_box );
/***************************************************************************** /*****************************************************************************
* MP4_BoxGet: find a box given a path relative to p_box * MP4_BoxGet: find a box given a path relative to p_box
***************************************************************************** *****************************************************************************
...@@ -1105,6 +1104,7 @@ MP4_Box_t *MP4_BoxGet( MP4_Box_t *p_box, const char *psz_fmt, ... ); ...@@ -1105,6 +1104,7 @@ MP4_Box_t *MP4_BoxGet( MP4_Box_t *p_box, const char *psz_fmt, ... );
*****************************************************************************/ *****************************************************************************/
int MP4_BoxCount( MP4_Box_t *p_box, const char *psz_fmt, ... ); int MP4_BoxCount( MP4_Box_t *p_box, const char *psz_fmt, ... );
/* Internal functions exposed for MKV demux */
int MP4_ReadBoxCommon( stream_t *p_stream, MP4_Box_t *p_box ); int MP4_ReadBoxCommon( stream_t *p_stream, MP4_Box_t *p_box );
int MP4_ReadBox_sample_vide( stream_t *p_stream, MP4_Box_t *p_box ); int MP4_ReadBox_sample_vide( stream_t *p_stream, MP4_Box_t *p_box );
void MP4_FreeBox_sample_vide( MP4_Box_t *p_box ); void MP4_FreeBox_sample_vide( MP4_Box_t *p_box );
......
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