diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2011-03-26 20:04:47 +0000 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-05-01 16:29:57 +0300 |
commit | a37b71dc329b4cfc828db9c166c94d1221f2d46c (patch) | |
tree | caf12113660e1dca43a4b15aac9e71a9cd278bed /input | |
parent | 211e93aeec5864a4cef2568703bbdd9dca171280 (diff) | |
download | mpv-a37b71dc329b4cfc828db9c166c94d1221f2d46c.tar.bz2 mpv-a37b71dc329b4cfc828db9c166c94d1221f2d46c.tar.xz |
cache: call stream read with at least sector size space
Ensure we always pass a buffer of at least sector size to the read
function. This is never an issue with streams that have actual
sectors, as the reads will always return a multiple of sector size and
the cache is always used in blocks of sector size. However the rtp
protocol misuses this so it can just assume it always has a
sufficiently large buffer available and thus fails without this extra
hack.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33120 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
0 files changed, 0 insertions, 0 deletions