[MPlayer-cvslog] r34224 - in trunk: libmpdemux/demux_rawdv.c stream/stream.h

diego subversion at mplayerhq.hu
Thu Oct 20 16:42:15 CEST 2011


Author: diego
Date: Thu Oct 20 16:42:14 2011
New Revision: 34224

Log:
Replace 'q' printf length modifier by 'll'.

'q' is just a deprecated synonym of 'll' that should no longer be used.

Modified:
   trunk/libmpdemux/demux_rawdv.c
   trunk/stream/stream.h

Modified: trunk/libmpdemux/demux_rawdv.c
==============================================================================
--- trunk/libmpdemux/demux_rawdv.c	Thu Oct 20 15:09:08 2011	(r34223)
+++ trunk/libmpdemux/demux_rawdv.c	Thu Oct 20 16:42:14 2011	(r34224)
@@ -113,7 +113,7 @@ static int demux_rawdv_fill_buffer(demux
    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 @@ static demuxer_t* demux_open_rawdv(demux
    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;

Modified: trunk/stream/stream.h
==============================================================================
--- trunk/stream/stream.h	Thu Oct 20 15:09:08 2011	(r34223)
+++ trunk/stream/stream.h	Thu Oct 20 16:42:14 2011	(r34224)
@@ -294,7 +294,7 @@ inline static off_t stream_tell(stream_t
 
 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",


More information about the MPlayer-cvslog mailing list