# HG changeset patch # User diego # Date 1319121734 0 # Node ID a7784f6008a788168014c20099161fa766106f85 # Parent 1d0544de6b6c3ed0388440ad3b249e579f33e724 Replace 'q' printf length modifier by 'll'. 'q' is just a deprecated synonym of 'll' that should no longer be used. diff -r 1d0544de6b6c -r a7784f6008a7 libmpdemux/demux_rawdv.c --- 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; diff -r 1d0544de6b6c -r a7784f6008a7 stream/stream.h --- 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",