[vlc-commits] libmp4: Use a portable format specified for uintmax_t

Hugo Beauzée-Luyssen git at videolan.org
Wed Nov 26 17:45:41 CET 2014


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Nov 26 13:57:36 2014 +0100| [e1f4cd2d466cafeab328465064b6d1146df23812] | committer: Hugo Beauzée-Luyssen

libmp4: Use a portable format specified for uintmax_t

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

 modules/demux/mp4/libmp4.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index f12acfd..9429ff3 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -4106,7 +4106,7 @@ static void MP4_BoxDumpStructure_Internal( stream_t *s,
         }
 
         snprintf( &str[i_level * 4], sizeof(str) - 4*i_level,
-                  "+ %4.4s size %"PRIu64" offset %ju%s",
+                  "+ %4.4s size %"PRIu64" offset %" PRIuMAX "%s",
                     (char*)&i_displayedtype, p_box->i_size,
                   (uintmax_t)p_box->i_pos,
                 p_box->e_flags & BOX_FLAG_INCOMPLETE ? " (\?\?\?\?)" : "" );



More information about the vlc-commits mailing list