changeset 9630:72870542a127

largefile support by Matthias Schwarzott <zzam@gmx.de>
author alex
date Fri, 21 Mar 2003 16:13:16 +0000
parents 59837356f692
children d0b7a6b898c8
files libmpdemux/demux_rawdv.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_rawdv.c	Fri Mar 21 16:09:31 2003 +0000
+++ b/libmpdemux/demux_rawdv.c	Fri Mar 21 16:13:16 2003 +0000
@@ -31,7 +31,7 @@
 {
    int current_frame;
    int frame_size;
-   int current_filepos;
+   off_t current_filepos;
    int frame_number;
    dv_decoder_t *decoder;
 } rawdv_frames_t;
@@ -100,7 +100,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 %d, size: %d\n",frames->current_filepos,frames->frame_size);
+//   fprintf(stderr,"demux_rawdv_fill_buffer() seek to %qu, 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
@@ -190,7 +190,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 %d, 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 %qu, 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);
 	    demuxer->audio->sh = sh_audio;