[vlc-commits] [Git][videolan/vlc][master] mux: mpeg: ts: fix format specifier

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Thu Dec 8 06:57:50 UTC 2022



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
585956cb by Alexandre Janniaux at 2022-12-08T06:37:09+00:00
mux: mpeg: ts: fix format specifier

i_depth is a size_t, and we should use %zu for that.

- - - - -


1 changed file:

- modules/mux/mpeg/ts.c


Changes:

=====================================
modules/mux/mpeg/ts.c
=====================================
@@ -1681,7 +1681,7 @@ static void TSSchedule( sout_mux_t *p_mux, sout_buffer_chain_t *p_chain_ts,
             i_max_diff = i_new_dts - p_ts->i_dts;
             i_cut_dts = p_ts->i_dts;
         }
-        msg_Dbg( p_mux, "adjusting rate at %"PRId64"/%"PRId64" (%d/%d)",
+        msg_Dbg( p_mux, "adjusting rate at %"PRId64"/%"PRId64" (%zu/%zu)",
                  i_cut_dts - i_pcr_dts, i_pcr_length, new_chain.i_depth,
                  p_chain_ts->i_depth );
         if ( new_chain.i_depth )



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/585956cb0587bac250306e5a865212b4d450f77b

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/585956cb0587bac250306e5a865212b4d450f77b
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list