[Mplayer-cvslog] CVS: 0_90/libmpdemux demux_rawdv.c,1.5,1.6

Arpi of Ize arpi at mplayerhq.hu
Sat Mar 22 17:31:31 CET 2003


Update of /cvsroot/mplayer/0_90/libmpdemux
In directory mail:/var/tmp.root/cvs-serv29468/libmpdemux

Modified Files:
	demux_rawdv.c 
Log Message:
backport: int->off_t (>2GB files support)


Index: demux_rawdv.c
===================================================================
RCS file: /cvsroot/mplayer/0_90/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	22 Mar 2003 16:31:29 -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;
@@ -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 %d, size: %d, dv_dec->frame_size: %d\n",(int)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