[Mplayer-cvslog] CVS: main/libmpdemux demux_nuv.c,1.8,1.9
Arpi of Ize
arpi at mplayerhq.hu
Tue Sep 10 22:42:48 CEST 2002
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv31291
Modified Files:
demux_nuv.c
Log Message:
fixed >2GB files demuxing
patch by Ilkka Forsblom <Ilkka.Forsblom at helsinki.fi>
Index: demux_nuv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_nuv.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- demux_nuv.c 6 Jul 2002 15:23:20 -0000 1.8
+++ demux_nuv.c 10 Sep 2002 20:42:45 -0000 1.9
@@ -52,8 +52,8 @@
#define MAX_TIME 1000000
nuv_priv_t* priv = demuxer->priv;
struct rtframeheader rtjpeg_frameheader;
- int orig_pos;
- int curr_pos;
+ off_t orig_pos;
+ off_t curr_pos;
float current_time = 0;
float start_time = MAX_TIME;
float target_time = start_time + rel_seek_secs * 1000; /* target_time, start_time are ms, rel_seek_secs s */
@@ -138,7 +138,7 @@
int demux_nuv_fill_buffer ( demuxer_t *demuxer )
{
struct rtframeheader rtjpeg_frameheader;
- int orig_pos;
+ off_t orig_pos;
nuv_priv_t* priv = demuxer->priv;
orig_pos = stream_tell ( demuxer->stream );
@@ -287,7 +287,7 @@
struct nuv_signature ns;
/* Store original position */
- int orig_pos = stream_tell(demuxer->stream);
+ off_t orig_pos = stream_tell(demuxer->stream);
mp_msg ( MSGT_DEMUX, MSGL_V, "Checking for NuppelVideo\n" );
More information about the MPlayer-cvslog
mailing list