Mercurial > mplayer.hg
diff stream/stream.h @ 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 | 26eddbd6353a |
children | 3fff1b2c4c97 |
line wrap: on
line diff
--- a/stream/stream.h Sun Mar 04 14:37:31 2012 +0000 +++ b/stream/stream.h Sun Mar 04 14:47:37 2012 +0000 @@ -191,7 +191,7 @@ void stream_capture_do(stream_t *s); #ifdef CONFIG_STREAM_CACHE -int stream_enable_cache(stream_t *stream,int size,int min,int prefill); +int stream_enable_cache(stream_t *stream,int64_t size,int64_t min,int64_t prefill); int cache_stream_fill_buffer(stream_t *s); int cache_stream_seek_long(stream_t *s,off_t pos); #else