[vlc-commits] demux: libmp4: fix MP4BoxCount signedness
Francois Cartegnie
git at videolan.org
Thu Jun 11 16:52:19 CEST 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jun 11 16:01:04 2015 +0200| [b9c49f9998d6f56c840bcc65a0e62f7630719002] | committer: Francois Cartegnie
demux: libmp4: fix MP4BoxCount signedness
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b9c49f9998d6f56c840bcc65a0e62f7630719002
---
modules/demux/mp4/libmp4.c | 4 ++--
modules/demux/mp4/libmp4.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 140b290..dc606f0 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -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 );
diff --git a/modules/demux/mp4/libmp4.h b/modules/demux/mp4/libmp4.h
index 693629d..4e56996 100644
--- a/modules/demux/mp4/libmp4.h
+++ b/modules/demux/mp4/libmp4.h
@@ -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 );
More information about the vlc-commits
mailing list