Commit f1a3e870 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix a few warnings

parent 0cb5cfbd
...@@ -136,6 +136,8 @@ static void CreateUUID( UUID_t *p_uuid, uint32_t i_fourcc ) ...@@ -136,6 +136,8 @@ static void CreateUUID( UUID_t *p_uuid, uint32_t i_fourcc )
/* made by 0xXXXXXXXX-0011-0010-8000-00aa00389b71 /* made by 0xXXXXXXXX-0011-0010-8000-00aa00389b71
where XXXXXXXX is the fourcc */ where XXXXXXXX is the fourcc */
/* FIXME implement this */ /* FIXME implement this */
(void)p_uuid;
(void)i_fourcc;
} }
/* some functions for mp4 encoding of variables */ /* some functions for mp4 encoding of variables */
...@@ -319,6 +321,7 @@ static int MP4_ReadBoxContainer( stream_t *p_stream, MP4_Box_t *p_container ) ...@@ -319,6 +321,7 @@ static int MP4_ReadBoxContainer( stream_t *p_stream, MP4_Box_t *p_container )
static void MP4_FreeBox_Common( MP4_Box_t *p_box ) static void MP4_FreeBox_Common( MP4_Box_t *p_box )
{ {
/* Up to now do nothing */ /* Up to now do nothing */
(void)p_box;
} }
static int MP4_ReadBoxSkip( stream_t *p_stream, MP4_Box_t *p_box ) static int MP4_ReadBoxSkip( stream_t *p_stream, MP4_Box_t *p_box )
...@@ -2799,7 +2802,8 @@ static void __MP4_BoxGet( MP4_Box_t **pp_result, ...@@ -2799,7 +2802,8 @@ static void __MP4_BoxGet( MP4_Box_t **pp_result,
return; return;
} }
vasprintf( &psz_path, psz_fmt, args ); if( vasprintf( &psz_path, psz_fmt, args ) == -1 )
psz_path = NULL;
if( !psz_path || !psz_path[0] ) if( !psz_path || !psz_path[0] )
{ {
......
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