changeset 34136:a7784f6008a7

Replace 'q' printf length modifier by 'll'. 'q' is just a deprecated synonym of 'll' that should no longer be used.
author diego
date Thu, 20 Oct 2011 14:42:14 +0000
parents 1d0544de6b6c
children 878500841edf
files libmpdemux/demux_rawdv.c stream/stream.h
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_rawdv.c	Thu Oct 20 13:09:08 2011 +0000
+++ b/libmpdemux/demux_rawdv.c	Thu Oct 20 14:42:14 2011 +0000
@@ -113,7 +113,7 @@
    demux_packet_t* dp_video=NULL;
    sh_video_t *sh_video = demuxer->video->sh;
    int bytes_read=0;
-//   fprintf(stderr,"demux_rawdv_fill_buffer() seek to %qu, size: %d\n",frames->current_filepos,frames->frame_size);
+//   fprintf(stderr,"demux_rawdv_fill_buffer() seek to %llu, size: %d\n",frames->current_filepos,frames->frame_size);
    // fetch the frame from the file
    // first, position the file properly since ds_read_packet() doesn't
    // seem to do it, even though it takes a file offset as a parameter
@@ -205,7 +205,7 @@
    frames->frame_size=dv_decoder->frame_size;
    frames->frame_number=demuxer->stream->end_pos/frames->frame_size;
 
-   mp_msg(MSGT_DEMUXER,MSGL_V,"demux_open_rawdv() seek to %qu, size: %d, dv_dec->frame_size: %d\n",frames->current_filepos,frames->frame_size, dv_decoder->frame_size);
+   mp_msg(MSGT_DEMUXER,MSGL_V,"demux_open_rawdv() seek to %llu, size: %d, dv_dec->frame_size: %d\n",frames->current_filepos,frames->frame_size, dv_decoder->frame_size);
     if (dv_decoder->audio != NULL && demuxer->audio->id>=-1){
        sh_audio_t *sh_audio =  new_sh_audio(demuxer, 0, NULL);
        demuxer->audio->id = 0;
--- a/stream/stream.h	Thu Oct 20 13:09:08 2011 +0000
+++ b/stream/stream.h	Thu Oct 20 14:42:14 2011 +0000
@@ -294,7 +294,7 @@
 
 inline static int stream_seek(stream_t *s,off_t pos){
 
-  mp_dbg(MSGT_DEMUX, MSGL_DBG3, "seek to 0x%qX\n",(long long)pos);
+  mp_dbg(MSGT_DEMUX, MSGL_DBG3, "seek to 0x%llX\n", (long long)pos);
 
   if (pos < 0) {
     mp_msg(MSGT_DEMUX, MSGL_ERR, "Invalid seek to negative position %llx!\n",