vlc/vlc-1.2 | branch: master | Rafaël Carré <[email protected]> | Sun Dec 4 00:06:58 2011 -0500| [c040438599fb4f4c5b8e51a62df61b597fe68269] | committer: Jean-Baptiste Kempf
Use PRId64 to print int64_t (cherry picked from commit c4c377bdf37a6131f968d1201376b25c6455079a) Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=c040438599fb4f4c5b8e51a62df61b597fe68269 --- modules/demux/ts.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/demux/ts.c b/modules/demux/ts.c index 23f5146..b3f3f48 100644 --- a/modules/demux/ts.c +++ b/modules/demux/ts.c @@ -2025,7 +2025,7 @@ static int Seek( demux_t *p_demux, double f_percent ) i_head_pos = p_sys->p_pos[i-1]; i_tail_pos = ( i < p_sys->i_pcrs_num ) ? p_sys->p_pos[i] : stream_Size( p_demux->s ); } - msg_Dbg( p_demux, "Seek():i_head_pos:%lld, i_tail_pos:%lld", i_head_pos, i_tail_pos); + msg_Dbg( p_demux, "Seek():i_head_pos:%"PRId64", i_tail_pos:%"PRId64, i_head_pos, i_tail_pos); bool b_found = false; int i_cnt = 0; @@ -2125,7 +2125,7 @@ static void GetLastPCR( demux_t *p_demux ) const int64_t TS_SUPPOSED_MINRATE = 0.5 * 1000 * 1000; //FIXME if( i_rate < TS_SUPPOSED_MINRATE || i_rate > TS_SUPPOSED_MAXRATE ) { - msg_Dbg( p_demux, "calculated bitrate (%lldbit/s) is too low or too high. min bitrate (%lldbit/s) max bitrate (%lldbit/s)", + msg_Dbg( p_demux, "calculated bitrate (%"PRId64"bit/s) is too low or too high. min bitrate (%lldbit/s) max bitrate (%lldbit/s)", i_rate, TS_SUPPOSED_MINRATE, TS_SUPPOSED_MAXRATE ); p_sys->i_last_pcr = -1; } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
