]> git.sesse.net Git - vlc/commitdiff
Do not assume that long long = int64_t
authorRémi Denis-Courmont <rem@videolan.org>
Wed, 5 Sep 2007 13:52:35 +0000 (13:52 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Wed, 5 Sep 2007 13:52:35 +0000 (13:52 +0000)
modules/access/http.c
modules/demux/mp4/libmp4.c
modules/demux/ps.c

index 040044e71e20c4b1b6bf8cdb02c877866e7123a3..efbdbd68815dd3e2851de7b354caf79847685a85 100644 (file)
@@ -1065,7 +1065,7 @@ static int Request( access_t *p_access, int64_t i_tell )
             if( p_sys->b_continuous )
             {
                 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 );
             }
             else
index 349e54f84b77967eefd9767c8aafe62aca58b3b7..013db5230ebf0d3c53fc5562387227ba01a7fea2 100644 (file)
@@ -1715,7 +1715,8 @@ static int MP4_ReadBox_elst( stream_t *p_stream, MP4_Box_t *p_box )
     }
 
 #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
     MP4_READBOX_EXIT( 1 );
 }
index d0fd9f3d9236993b3184ee4b6674789c9c9fdd78..94e78256fff59e028e7308073600365fb535fb58 100644 (file)
@@ -259,7 +259,7 @@ static void FindLength( demux_t *p_demux )
                 {
                     p_sys->i_length = i_length;
                     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 )
                 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. */
-                    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 );
                 }