[vlc-commits] mp4: remove useless up-conversion

Rémi Denis-Courmont git at videolan.org
Wed Mar 20 04:39:54 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Mar 20 05:22:10 2019 +0200| [575aaea26cb732857b4443ac34bfe1bf3ff5956d] | committer: Rémi Denis-Courmont

mp4: remove useless up-conversion

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

 modules/demux/mp4/libmp4.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 418c1a6b95..3b6f64a136 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -5447,10 +5447,9 @@ static void MP4_BoxDumpStructure_Internal( stream_t *s, const MP4_Box_t *p_box,
         }
 
         snprintf( &str[i_level * 4], sizeof(str) - 4*i_level,
-                  "+ %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 ? " (\?\?\?\?)" : "" );
+                  "+ %4.4s size %"PRIu64" offset %"PRIu64"%s",
+                  (char *)&i_displayedtype, p_box->i_size, p_box->i_pos,
+                  p_box->e_flags & BOX_FLAG_INCOMPLETE ? " (\?\?\?\?)" : "" );
         msg_Dbg( s, "%s", str );
     }
     p_child = p_box->p_first;



More information about the vlc-commits mailing list