Commit c0404385 authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Baptiste Kempf

Use PRId64 to print int64_t

(cherry picked from commit c4c377bdf37a6131f968d1201376b25c6455079a)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9158ea1e
...@@ -2025,7 +2025,7 @@ static int Seek( demux_t *p_demux, double f_percent ) ...@@ -2025,7 +2025,7 @@ static int Seek( demux_t *p_demux, double f_percent )
i_head_pos = p_sys->p_pos[i-1]; 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 ); 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; bool b_found = false;
int i_cnt = 0; int i_cnt = 0;
...@@ -2125,7 +2125,7 @@ static void GetLastPCR( demux_t *p_demux ) ...@@ -2125,7 +2125,7 @@ static void GetLastPCR( demux_t *p_demux )
const int64_t TS_SUPPOSED_MINRATE = 0.5 * 1000 * 1000; //FIXME const int64_t TS_SUPPOSED_MINRATE = 0.5 * 1000 * 1000; //FIXME
if( i_rate < TS_SUPPOSED_MINRATE || i_rate > TS_SUPPOSED_MAXRATE ) 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 ); i_rate, TS_SUPPOSED_MINRATE, TS_SUPPOSED_MAXRATE );
p_sys->i_last_pcr = -1; p_sys->i_last_pcr = -1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment