summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-10-27 19:04:04 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-07 21:46:22 +0200
commitf94717cdc4dfb35ac8dc3b5d593f6e523fdd621e (patch)
tree596d9111d6cf4f35eddeef339097d06f1ec417a0 /TOOLS
parentc6fb4e2aa2f5a16aaa35411201c600c8ae801c38 (diff)
downloadmpv-f94717cdc4dfb35ac8dc3b5d593f6e523fdd621e.tar.bz2
mpv-f94717cdc4dfb35ac8dc3b5d593f6e523fdd621e.tar.xz
cache, stream: avoid extra memcpy when using cache
Add a stream_read_internal() function that reads directly into a given buffer instead of the stream's internal one. Use this to read directly into cache memory, avoiding a memcpy(). This requires also adding a stream_seek_internal() as the normal seek function reads into the stream's buffer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32559 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS')
0 files changed, 0 insertions, 0 deletions