[vlc-devel] [PATCH 2/4] x265: fix log format string

Zhao Zhili quinkblack at foxmail.com
Thu Sep 20 05:19:00 CEST 2018


---
 modules/codec/x265.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/x265.c b/modules/codec/x265.c
index c918b45..e988f56 100644
--- a/modules/codec/x265.c
+++ b/modules/codec/x265.c
@@ -127,7 +127,7 @@ static block_t *Encode(encoder_t *p_enc, picture_t *p_pict)
     }
 
 #ifndef NDEBUG
-    msg_Dbg(p_enc, "%zu bytes (frame %"PRId64", %.2ffps)", p_block->i_buffer,
+    msg_Dbg(p_enc, "%zu bytes (frame %u, %.2ffps)", p_block->i_buffer,
         p_sys->frame_count, (float)p_sys->frame_count * CLOCK_FREQ / (vlc_tick_now() - p_sys->start));
 #endif
 
-- 
2.9.5





More information about the vlc-devel mailing list