summaryrefslogtreecommitdiffstats
path: root/talloc.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-09 19:06:21 +0200
committerwm4 <wm4@nowhere>2014-04-09 19:06:21 +0200
commita967152498aa0302d83fe5e70509f7210b123deb (patch)
tree2cb6e52366c7b3c3c13b1696a81eabdfdd3454e5 /talloc.h
parent80392efaeadf968f233b4bfad87cd30ce635b1dc (diff)
downloadmpv-a967152498aa0302d83fe5e70509f7210b123deb.tar.bz2
mpv-a967152498aa0302d83fe5e70509f7210b123deb.tar.xz
cache: adjust stream position if necessary
Until now, this could never happen, because new data was simply always appended to the end of the cache. But for making stream cache resizing easier, doing it this way seems advantageous. It also makes it harder to make the internal state inconsistent. (Before this change it could happen that cache and stream position went out of sync if the read position was adjusted "inappropriately".)
Diffstat (limited to 'talloc.h')
0 files changed, 0 insertions, 0 deletions