Mercurial > mplayer.hg
changeset 7361:c3865710b53d
fixed >2GB files demuxing
patch by Ilkka Forsblom <Ilkka.Forsblom@helsinki.fi>
author | arpi |
---|---|
date | Tue, 10 Sep 2002 20:42:45 +0000 |
parents | 18e1b57616fc |
children | 8ae490fbf89d |
files | libmpdemux/demux_nuv.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_nuv.c Tue Sep 10 20:41:13 2002 +0000 +++ b/libmpdemux/demux_nuv.c Tue Sep 10 20:42:45 2002 +0000 @@ -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" );