Mercurial > mplayer.hg
diff mencoder.c @ 34704:cc658103f214
Allow using a cache size of up to 4 TB.
Obviously anything close to 4 GB will always fail
on 32 bit systems.
author | reimar |
---|---|
date | Sun, 04 Mar 2012 14:47:37 +0000 |
parents | fede902a408c |
children | d32f75f79517 |
line wrap: on
line diff
--- a/mencoder.c Sun Mar 04 14:37:31 2012 +0000 +++ b/mencoder.c Sun Mar 04 14:47:37 2012 +0000 @@ -678,7 +678,7 @@ stream->start_pos+=seek_to_byte; - if(stream_cache_size>0) stream_enable_cache(stream,stream_cache_size*1024,0,0); + if(stream_cache_size>0) stream_enable_cache(stream,stream_cache_size*1024ull,0,0); if(demuxer2) audio_id=-2; /* do NOT read audio packets... */