Commit c42daaa5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Do not assume that long long = int64_t

parent ba2f5bd9
...@@ -1065,7 +1065,7 @@ static int Request( access_t *p_access, int64_t i_tell ) ...@@ -1065,7 +1065,7 @@ static int Request( access_t *p_access, int64_t i_tell )
if( p_sys->b_continuous ) if( p_sys->b_continuous )
{ {
p_access->info.i_size = -1; p_access->info.i_size = -1;
msg_Dbg( p_access, "this frame size="I64Fd, atoll(p ) ); msg_Dbg( p_access, "this frame size=%lld", atoll(p ) );
p_sys->i_remaining = atoll( p ); p_sys->i_remaining = atoll( p );
} }
else else
......
...@@ -1715,7 +1715,8 @@ static int MP4_ReadBox_elst( stream_t *p_stream, MP4_Box_t *p_box ) ...@@ -1715,7 +1715,8 @@ static int MP4_ReadBox_elst( stream_t *p_stream, MP4_Box_t *p_box )
} }
#ifdef MP4_VERBOSE #ifdef MP4_VERBOSE
msg_Dbg( p_stream, "read box: \"elst\" entry-count "I64Fd, p_box->data.p_elst->i_entry_count ); msg_Dbg( p_stream, "read box: \"elst\" entry-count %lu",
(unsigned long)p_box->data.p_elst->i_entry_count );
#endif #endif
MP4_READBOX_EXIT( 1 ); MP4_READBOX_EXIT( 1 );
} }
......
...@@ -259,7 +259,7 @@ static void FindLength( demux_t *p_demux ) ...@@ -259,7 +259,7 @@ static void FindLength( demux_t *p_demux )
{ {
p_sys->i_length = i_length; p_sys->i_length = i_length;
p_sys->i_time_track = i; p_sys->i_time_track = i;
msg_Dbg( p_demux, "we found a length of: %lld", p_sys->i_length ); msg_Dbg( p_demux, "we found a length of: "I64Fd, p_sys->i_length );
} }
} }
} }
...@@ -382,7 +382,7 @@ static int Demux( demux_t *p_demux ) ...@@ -382,7 +382,7 @@ static int Demux( demux_t *p_demux )
if( !b_new && !p_sys->b_have_pack && tk->fmt.i_cat == AUDIO_ES && p_pkt->i_pts > 0 ) if( !b_new && !p_sys->b_have_pack && tk->fmt.i_cat == AUDIO_ES && p_pkt->i_pts > 0 )
{ {
/* A hack to sync the A/V on PES files. */ /* A hack to sync the A/V on PES files. */
msg_Dbg( p_demux, "force SCR: %lld", p_pkt->i_pts ); msg_Dbg( p_demux, "force SCR: "I64Fd, p_pkt->i_pts );
es_out_Control( p_demux->out, ES_OUT_SET_PCR, p_pkt->i_pts ); es_out_Control( p_demux->out, ES_OUT_SET_PCR, p_pkt->i_pts );
} }
......
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