[vlc-commits] MP4: shut a warning

Jean-Baptiste Kempf git at videolan.org
Mon Aug 29 00:12:36 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Aug 29 00:11:57 2011 +0200| [76ab435df8c944f789424670fb2715abe534fde4] | committer: Jean-Baptiste Kempf

MP4: shut a warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=76ab435df8c944f789424670fb2715abe534fde4
---

 modules/demux/mp4/libmp4.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index c38f64b..31da404 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -147,7 +147,7 @@ static void CreateUUID( UUID_t *p_uuid, uint32_t i_fourcc )
 }
 
 /* some functions for mp4 encoding of variables */
-
+#ifdef MP4_VERBOSE
 static void MP4_ConvertDate2Str( char *psz, uint64_t i_date )
 {
     int i_day;
@@ -164,6 +164,7 @@ static void MP4_ConvertDate2Str( char *psz, uint64_t i_date )
     i_sec =  i_date % 60;
     sprintf( psz, "%dd-%2.2dh:%2.2dm:%2.2ds", i_day, i_hour, i_min, i_sec );
 }
+#endif
 
 /*****************************************************************************
  * Some prototypes.



More information about the vlc-commits mailing list