[MPlayer-dev-eng] [PATCH] enable largefile-support for rawdv-demuxer

Matthias Schwarzott zzam at gmx.de
Wed Mar 19 22:08:10 CET 2003


Hi developers,
in the last time I has some problems with rawdv-files. mencoder stopped 
encoding right at 2GB. After some investigation I found out that the 
file-offset is stored in an signed int-variable thus wrapping around at the 
31-bit-boundary=2^31=2GB. I changed this variable to the type off_t 
(=64-bit). I also changed the output-commands to work with this 64-bit 
data-type. I think the mp_msg-calls are right now. In this case there are 
eventually more such mp_msg-calls not changed from 32- to 64-bits.

Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demux_rawdv.patch
Type: text/x-diff
Size: 1474 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030319/b6f7911f/attachment.patch>


More information about the MPlayer-dev-eng mailing list