summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-03-29 11:43:16 +0200
committerwm4 <wm4@nowhere>2016-03-29 11:43:16 +0200
commit8d6973187126d0ba6c9344c3db01144d0c3fac1e (patch)
treef71e8c325f121dbed1dda545ee4b4cd799f9801c /video/out/opengl/video.c
parent57506b27ed0d567c11bd932cf758318fb3b2079c (diff)
downloadmpv-8d6973187126d0ba6c9344c3db01144d0c3fac1e.tar.bz2
mpv-8d6973187126d0ba6c9344c3db01144d0c3fac1e.tar.xz
cache: fix incorrect EOF condition
Don't assume EOF if we didn't try to read anything in the first place. Fixes regressions in particular with low cache sizes, which triggered the other code paths more often.
Diffstat (limited to 'video/out/opengl/video.c')
0 files changed, 0 insertions, 0 deletions