[vlc-commits] aout: fix debug format string

Francois Cartegnie git at videolan.org
Wed Oct 7 21:38:14 CEST 2020


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Oct  7 21:35:48 2020 +0200| [cf14b255694ab64253ea3e040a03557662966993] | committer: Francois Cartegnie

aout: fix debug format string

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

 src/audio_output/dec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/audio_output/dec.c b/src/audio_output/dec.c
index f3a3369ac1..028044c25b 100644
--- a/src/audio_output/dec.c
+++ b/src/audio_output/dec.c
@@ -255,7 +255,7 @@ static void aout_DecSilence (audio_output_t *aout, vlc_tick_t length, vlc_tick_t
     if (unlikely(block == NULL))
         return; /* uho! */
 
-    msg_Dbg (aout, "inserting %zu zeroes / %ld ms", frames, MS_FROM_VLC_TICK(length));
+    msg_Dbg (aout, "inserting %zu zeroes / %"PRId64"ms", frames, MS_FROM_VLC_TICK(length));
     memset (block->p_buffer, 0, block->i_buffer);
     block->i_nb_samples = frames;
     block->i_pts = pts;



More information about the vlc-commits mailing list