[vlc-commits] avcodec: use PRIx64 to print uint64_t

Rafaël Carré git at videolan.org
Mon Mar 10 17:39:40 CET 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Mar 10 17:39:10 2014 +0100| [bb3fe09ca5acaffaf794c7e618f0e73ae34aa448] | committer: Rafaël Carré

avcodec: use PRIx64 to print uint64_t

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

 modules/codec/avcodec/encoder.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c
index ec8e02a..df77340 100644
--- a/modules/codec/avcodec/encoder.c
+++ b/modules/codec/avcodec/encoder.c
@@ -717,7 +717,7 @@ int OpenEncoder( vlc_object_t *p_this )
             {
                 if( p_context->channel_layout & pi_channels_map[i][0] )
                 {
-                    msg_Dbg( p_enc, "%d %x mapped to %x", i_channels_src, pi_channels_map[i][0], pi_channels_map[i][1]);
+                    msg_Dbg( p_enc, "%d %"PRIx64" mapped to %"PRIx64"", i_channels_src, pi_channels_map[i][0], pi_channels_map[i][1]);
                     pi_order_dst[i_channels_src++] = pi_channels_map[i][1];
                 }
             }
@@ -730,7 +730,7 @@ int OpenEncoder( vlc_object_t *p_this )
             {
                 if( i < sizeof(pi_channels_map)/sizeof(*pi_channels_map) )
                 {
-                    msg_Dbg( p_enc, "%d channel is %x", i_channels_src, pi_channels_map[i][1]);
+                    msg_Dbg( p_enc, "%d channel is %"PRIx64"", i_channels_src, pi_channels_map[i][1]);
                     pi_order_dst[i_channels_src++] = pi_channels_map[i][1];
                 }
             }



More information about the vlc-commits mailing list