Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
b9c49f99
Commit
b9c49f99
authored
Jun 11, 2015
by
François Cartegnie
🤞
Browse files
demux: libmp4: fix MP4BoxCount signedness
parent
0d8babb9
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/demux/mp4/libmp4.c
View file @
b9c49f99
...
...
@@ -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
);
...
...
modules/demux/mp4/libmp4.h
View file @
b9c49f99
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment