vlc | branch: master | Jean-Baptiste Kempf <j...@videolan.org> | Tue Aug  8 
11:19:03 2017 +0200| [f8e01ad95cdb357fba3dc5d901b8a4b0882d62ed] | committer: 
Jean-Baptiste Kempf

PS: fix format strings

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

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

diff --git a/modules/demux/mpeg/ps.c b/modules/demux/mpeg/ps.c
index a92648e6b9..57cc6a5d7d 100644
--- a/modules/demux/mpeg/ps.c
+++ b/modules/demux/mpeg/ps.c
@@ -568,7 +568,7 @@ static int Demux( demux_t *p_demux )
                 if( (tk->fmt.i_cat == AUDIO_ES || tk->fmt.i_cat == VIDEO_ES) &&
                     tk->i_first_pts > VLC_TS_INVALID && tk->i_first_pts - 
p_sys->i_pack_scr > CLOCK_FREQ )
                 {
-                    msg_Warn( p_demux, "Incorrect SCR timing offset by of %ld 
ms, disabling",
+                    msg_Warn( p_demux, "Incorrect SCR timing offset by of 
%"PRId64 "ms, disabling",
                                        tk->i_first_pts - p_sys->i_pack_scr / 
1000 );
                     p_sys->b_bad_scr = true; /* Disable Offset SCR */
                     p_sys->i_first_scr = -1;
@@ -585,7 +585,7 @@ static int Demux( demux_t *p_demux )
                     if( !p_sys->b_bad_scr && p_sys->i_pack_scr > 0 && 
p_pkt->i_pts > 0 &&
                         p_sys->i_pack_scr > p_pkt->i_pts + CLOCK_FREQ / 4 )
                     {
-                        msg_Warn( p_demux, "Incorrect SCR timing in advance of 
%ld ms, disabling",
+                        msg_Warn( p_demux, "Incorrect SCR timing in advance of 
%" PRId64 "ms, disabling",
                                            p_sys->i_pack_scr - p_pkt->i_pts / 
1000 );
                         p_sys->b_bad_scr = true;
                         p_sys->i_first_scr = -1;

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to