[Mplayer-cvslog] CVS: main/libmpdemux demux_rawdv.c,1.5,1.6
Alex Beregszaszi
alex at mplayerhq.hu
Fri Mar 21 17:13:21 CET 2003
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv31916
Modified Files:
demux_rawdv.c
Log Message:
largefile support by Matthias Schwarzott <zzam at gmx.de>
Index: demux_rawdv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_rawdv.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- demux_rawdv.c 19 Jan 2003 19:02:39 -0000 1.5
+++ demux_rawdv.c 21 Mar 2003 16:13:16 -0000 1.6
@@ -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;
More information about the MPlayer-cvslog
mailing list