Commit b9c49f99 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: libmp4: fix MP4BoxCount signedness

parent 0d8babb9
......@@ -4405,10 +4405,10 @@ MP4_Box_t *MP4_BoxGet( MP4_Box_t *p_box, const char *psz_fmt, ... )
* ex: /moov/trak[12]
* ../mdia
*****************************************************************************/
int MP4_BoxCount( MP4_Box_t *p_box, const char *psz_fmt, ... )
unsigned MP4_BoxCount( MP4_Box_t *p_box, const char *psz_fmt, ... )
{
va_list args;
int i_count;
unsigned i_count;
MP4_Box_t *p_result, *p_next;
va_start( args, psz_fmt );
......
......@@ -1696,7 +1696,7 @@ MP4_Box_t *MP4_BoxGet( MP4_Box_t *p_box, const char *psz_fmt, ... );
* ex: /moov/trak
* ../mdia
*****************************************************************************/
int MP4_BoxCount( MP4_Box_t *p_box, const char *psz_fmt, ... );
unsigned MP4_BoxCount( MP4_Box_t *p_box, const char *psz_fmt, ... );
/* Internal functions exposed for MKV demux */
int MP4_PeekBoxHeader( stream_t *p_stream, 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