[vlc-commits] demux: libmp4: use proper format string for debug

Francois Cartegnie git at videolan.org
Wed Nov 15 19:20:35 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Nov 15 18:52:25 2017 +0100| [a16e35ce252650ddaf594fa11a69ce97a0a32508] | committer: Francois Cartegnie

demux: libmp4: use proper format string for debug

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

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

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index e1bd917ae9..2d98c6a342 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -3109,8 +3109,8 @@ static int MP4_ReadBox_elst( stream_t *p_stream, MP4_Box_t *p_box )
     }
 
 #ifdef MP4_VERBOSE
-    msg_Dbg( p_stream, "read box: \"elst\" entry-count %lu",
-             (unsigned long)p_box->data.p_elst->i_entry_count );
+    msg_Dbg( p_stream, "read box: \"elst\" entry-count %" PRIu32,
+             p_box->data.p_elst->i_entry_count );
 #endif
     MP4_READBOX_EXIT( 1 );
 }



More information about the vlc-commits mailing list