summaryrefslogtreecommitdiffstats
path: root/osdep/shmem.h
diff options
context:
space:
mode:
authormplayer-svn <svn@mplayerhq.hu>2012-03-04 14:37:31 +0000
committerwm4 <wm4@nowhere>2012-08-03 01:52:40 +0200
commitbbc9fccd46de31bacdf132762a7c0d1f8a4caf53 (patch)
tree6890f6648aac93605336a76d7bc5d236e8ea4446 /osdep/shmem.h
parent0dce860f6c74df1c10351bd8bbbdcc406236925e (diff)
downloadmpv-bbc9fccd46de31bacdf132762a7c0d1f8a4caf53.tar.bz2
mpv-bbc9fccd46de31bacdf132762a7c0d1f8a4caf53.tar.xz
cache2: allow cache sizes up to 4 TB
Remove variable that is only assigned but never used. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34791 b3059339-0415-0410-9bf9-f77b7e298cf2 Allow using a cache size of up to 4 TB. Obviously anything close to 4 GB will always fail on 32 bit systems. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34792 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace off_t by int64_t in cache code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34793 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove casts that are no longer necessary. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34794 b3059339-0415-0410-9bf9-f77b7e298cf2 Fix header file after r34793. Patch by Stephen Sheldon, sfsheldo gmail com. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34802 b3059339-0415-0410-9bf9-f77b7e298cf2 Put #include <inttypes.h> into the header file where it should be. Reported by Stephen Sheldon, sfsheldo gmail com. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34798 b3059339-0415-0410-9bf9-f77b7e298cf2 Correct r34798. The header only needs stdint.h while the C file needs inttypes.h. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34799 b3059339-0415-0410-9bf9-f77b7e298cf2 Author: reimar
Diffstat (limited to 'osdep/shmem.h')
-rw-r--r--osdep/shmem.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/osdep/shmem.h b/osdep/shmem.h
index 7696e45281..1aa8382f09 100644
--- a/osdep/shmem.h
+++ b/osdep/shmem.h
@@ -19,7 +19,9 @@
#ifndef MPLAYER_SHMEM_H
#define MPLAYER_SHMEM_H
-void* shmem_alloc(int size);
-void shmem_free(void* p,int size);
+#include <stdint.h>
+
+void* shmem_alloc(int64_t size);
+void shmem_free(void* p,int64_t size);
#endif /* MPLAYER_SHMEM_H */